eriktks/conll2003
Updated • 31.1k • 177
How to use Mu7annad/ner-xlm-roberta-english with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Mu7annad/ner-xlm-roberta-english") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Mu7annad/ner-xlm-roberta-english")
model = AutoModelForTokenClassification.from_pretrained("Mu7annad/ner-xlm-roberta-english", device_map="auto")This model is a fine-tuned version of xlm-roberta-base on the conll2003 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 Score |
|---|---|---|---|---|
| 0.1626 | 1.0 | 878 | 0.0554 | 0.9238 |
| 0.0404 | 2.0 | 1756 | 0.0465 | 0.9417 |
| 0.0237 | 3.0 | 2634 | 0.0445 | 0.9452 |
Base model
FacebookAI/xlm-roberta-base