google/xtreme
Viewer • Updated • 2.77M • 12.8k • 116
How to use nikolina-p/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="nikolina-p/xlm-roberta-base-finetuned-panx-en") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("nikolina-p/xlm-roberta-base-finetuned-panx-en")
model = AutoModelForTokenClassification.from_pretrained("nikolina-p/xlm-roberta-base-finetuned-panx-en")This model is a fine-tuned version of xlm-roberta-base on the XTREME dataset, specifically on the PAN-X subset for the following languages:
PAN-X.en)It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 |
|---|---|---|---|---|
| 1.0451 | 1.0 | 50 | 0.5402 | 0.5391 |
| 0.4787 | 2.0 | 100 | 0.4175 | 0.6794 |
| 0.3819 | 3.0 | 150 | 0.3729 | 0.6988 |
Base model
FacebookAI/xlm-roberta-base