google/xtreme
Viewer โข Updated โข 2.77M โข 35k โข 118
How to use royam0820/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="royam0820/xlm-roberta-base-finetuned-panx-it") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("royam0820/xlm-roberta-base-finetuned-panx-it")
model = AutoModelForTokenClassification.from_pretrained("royam0820/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.8193 | 1.0 | 70 | 0.3200 | 0.7356 |
| 0.2773 | 2.0 | 140 | 0.2841 | 0.7882 |
| 0.1807 | 3.0 | 210 | 0.2630 | 0.8124 |