google/xtreme
Viewer • Updated • 2.77M • 9.61k • 117
How to use pradeepiisc/xlm-roberta-base-finetuned-panx-it with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="pradeepiisc/xlm-roberta-base-finetuned-panx-it") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("pradeepiisc/xlm-roberta-base-finetuned-panx-it")
model = AutoModelForTokenClassification.from_pretrained("pradeepiisc/xlm-roberta-base-finetuned-panx-it", device_map="auto")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.6997 | 1.0 | 70 | 0.3258 | 0.7623 |
| 0.2884 | 2.0 | 140 | 0.2660 | 0.8037 |
| 0.1775 | 3.0 | 210 | 0.2376 | 0.8189 |