google/xtreme
Viewer โข Updated โข 2.77M โข 19.3k โข 119
How to use 54data/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="54data/xlm-roberta-base-finetuned-panx-it") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("54data/xlm-roberta-base-finetuned-panx-it")
model = AutoModelForTokenClassification.from_pretrained("54data/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.822 | 1.0 | 70 | 0.3305 | 0.7049 |
| 0.2972 | 2.0 | 140 | 0.2715 | 0.7781 |
| 0.1979 | 3.0 | 210 | 0.2607 | 0.8181 |
Base model
FacebookAI/xlm-roberta-base