AmazonScience/massive
Viewer • Updated • 2.56M • 10.9k • 89
How to use cartesinus/multilingual_minilm-amazon_massive-intent_eu6_noen with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="cartesinus/multilingual_minilm-amazon_massive-intent_eu6_noen") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("cartesinus/multilingual_minilm-amazon_massive-intent_eu6_noen")
model = AutoModelForSequenceClassification.from_pretrained("cartesinus/multilingual_minilm-amazon_massive-intent_eu6_noen")This model is a fine-tuned version of microsoft/Multilingual-MiniLM-L12-H384 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 |
|---|---|---|---|---|---|
| 1.7624 | 1.0 | 4318 | 1.5462 | 0.6331 | 0.6331 |
| 0.9535 | 2.0 | 8636 | 0.9628 | 0.7698 | 0.7698 |
| 0.6849 | 3.0 | 12954 | 0.8034 | 0.8097 | 0.8097 |
| 0.5163 | 4.0 | 17272 | 0.7444 | 0.8290 | 0.8290 |
| 0.3973 | 5.0 | 21590 | 0.7346 | 0.8383 | 0.8383 |
| 0.331 | 6.0 | 25908 | 0.7369 | 0.8453 | 0.8453 |
| 0.2876 | 7.0 | 30226 | 0.7325 | 0.8510 | 0.8510 |
| 0.2319 | 8.0 | 34544 | 0.7726 | 0.8496 | 0.8496 |
| 0.2098 | 9.0 | 38862 | 0.7803 | 0.8543 | 0.8543 |
| 0.1863 | 10.0 | 43180 | 0.7794 | 0.8551 | 0.8551 |
Base model
microsoft/Multilingual-MiniLM-L12-H384