google/xtreme
Viewer • Updated • 2.77M • 20k • 116
How to use hugsao123/XLM-R-fine-tuned-for-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="hugsao123/XLM-R-fine-tuned-for-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("hugsao123/XLM-R-fine-tuned-for-ner")
model = AutoModelForTokenClassification.from_pretrained("hugsao123/XLM-R-fine-tuned-for-ner")This model is a fine-tuned version of xlm-roberta-base on the xtreme 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 |
|---|---|---|---|---|
| 0.4202 | 1.0 | 2500 | 0.3449 | 0.7963 |
| 0.2887 | 2.0 | 5000 | 0.2756 | 0.8057 |
| 0.2309 | 3.0 | 7500 | 0.2971 | 0.8040 |
| 0.1832 | 4.0 | 10000 | 0.3319 | 0.8167 |
| 0.1461 | 5.0 | 12500 | 0.3958 | 0.8350 |
| 0.114 | 6.0 | 15000 | 0.4087 | 0.8316 |
| 0.0833 | 7.0 | 17500 | 0.4320 | 0.8361 |
| 0.0614 | 8.0 | 20000 | 0.4885 | 0.8353 |
| 0.039 | 9.0 | 22500 | 0.5408 | 0.8390 |
| 0.0251 | 10.0 | 25000 | 0.5679 | 0.8378 |