google/xtreme
Viewer • Updated • 2.77M • 5.42k • 116
How to use cj-mills/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="cj-mills/xlm-roberta-base-finetuned-panx-it") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("cj-mills/xlm-roberta-base-finetuned-panx-it")
model = AutoModelForTokenClassification.from_pretrained("cj-mills/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 |
|---|---|---|---|---|
| 1.4548 | 1.0 | 27 | 0.6522 | 0.5457 |
| 0.5214 | 2.0 | 54 | 0.3476 | 0.7404 |
| 0.3186 | 3.0 | 81 | 0.2928 | 0.7730 |