google/xtreme
Viewer • Updated • 2.77M • 23.4k • 117
How to use smallsuper/xlm-roberta-base-finetuned-panx-en with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="smallsuper/xlm-roberta-base-finetuned-panx-en") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("smallsuper/xlm-roberta-base-finetuned-panx-en")
model = AutoModelForTokenClassification.from_pretrained("smallsuper/xlm-roberta-base-finetuned-panx-en", 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 |
|---|---|---|---|---|
| 1.1333 | 1.0 | 50 | 0.5849 | 0.4568 |
| 0.5109 | 2.0 | 100 | 0.4149 | 0.6608 |
| 0.3668 | 3.0 | 150 | 0.3938 | 0.6912 |
Base model
FacebookAI/xlm-roberta-base