tner/conll2003
Viewer • Updated • 20.7k • 1.91k • 3
How to use AntoineBlanot/roberta-span-detection with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="AntoineBlanot/roberta-span-detection") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("AntoineBlanot/roberta-span-detection")
model = AutoModel.from_pretrained("AntoineBlanot/roberta-span-detection")This model is a fine-tuned model of roberta-large after being trained on a mixture of NER datasets.
Basically, this model can detect NER spans (with no differenciation on classes). Labels use the IBO format and are:
This model has been trained in an efficient way and thus cannot be load directly from HuggingFace's hub. To use that model, please follow instructions on this repo.
| Data | Accuracy |
|---|---|
| validation | 0.972 |