AmazonScience/massive
Viewer • Updated • 2.56M • 12.5k • 87
How to use cartesinus/xlm-r-base-amazon-massive-intent-label_smoothing with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="cartesinus/xlm-r-base-amazon-massive-intent-label_smoothing") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("cartesinus/xlm-r-base-amazon-massive-intent-label_smoothing")
model = AutoModelForSequenceClassification.from_pretrained("cartesinus/xlm-r-base-amazon-massive-intent-label_smoothing")This model is a fine-tuned version of xlm-roberta-base on the MASSIVE1.1 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 | Accuracy | F1 |
|---|---|---|---|---|---|
| 3.3945 | 1.0 | 720 | 2.7175 | 0.7900 | 0.7900 |
| 2.7629 | 2.0 | 1440 | 2.5660 | 0.8549 | 0.8549 |
| 2.5143 | 3.0 | 2160 | 2.5389 | 0.8711 | 0.8711 |
| 2.4678 | 4.0 | 2880 | 2.5172 | 0.8883 | 0.8883 |
| 2.4187 | 5.0 | 3600 | 2.5148 | 0.8879 | 0.8879 |
Base model
FacebookAI/xlm-roberta-base