Instructions to use RJ3vans/CLNspanTagger with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RJ3vans/CLNspanTagger with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="RJ3vans/CLNspanTagger")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("RJ3vans/CLNspanTagger") model = AutoModelForTokenClassification.from_pretrained("RJ3vans/CLNspanTagger") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("RJ3vans/CLNspanTagger")
model = AutoModelForTokenClassification.from_pretrained("RJ3vans/CLNspanTagger")Quick Links
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This model identifies compound nouns in input sentences.
Try the test sentence:
I love apples [and] potatoes.
Accuracy is best when you place square brackets around the coordinating conjunction.
The model was derived using code adapted from an original program written by Dr. Le An Ha at the University of Wolverhampton.
- Downloads last month
- 3
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="RJ3vans/CLNspanTagger")