Token Classification
Classifies Gro's items and metrics
tag | token |
---|---|
B-ITEM | BEGINNING ITEM |
I-ITEM | INSIDE ITEM |
B-METRIC | BEGINNING METRIC |
I-METRIC | INSIDE METRIC |
O | OUTSIDE |
Training: Script to train this model
The following Flair script was used to train this model:
from transformers import AutoModelForTokenClassification, AutoTokenizer, pipeline
tokenizer = AutoTokenizer.from_pretrained("Wanjiru/autotrain_gro_ner")
model = AutoModelForTokenClassification.from_pretrained("Wanjiru/autotrain_gro_ner")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "Wanjru"
ner_res = nlp(example)
- Downloads last month
- 3
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.