google/xtreme
Viewer • Updated • 2.77M • 31.2k • 117
How to use edwardjross/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="edwardjross/xlm-roberta-base-finetuned-panx-it") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("edwardjross/xlm-roberta-base-finetuned-panx-it")
model = AutoModelForTokenClassification.from_pretrained("edwardjross/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.6951 | 1.0 | 105 | 0.2967 | 0.7682 |
| 0.2824 | 2.0 | 210 | 0.2569 | 0.8201 |
| 0.1724 | 3.0 | 315 | 0.2532 | 0.8331 |