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
- 14
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.