dair-ai/emotion
Viewer • Updated • 437k • 34.2k • 443
How to use Salmamoori/miniLM_finetuned_Emotion_2024_06_15 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Salmamoori/miniLM_finetuned_Emotion_2024_06_15") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Salmamoori/miniLM_finetuned_Emotion_2024_06_15")
model = AutoModelForSequenceClassification.from_pretrained("Salmamoori/miniLM_finetuned_Emotion_2024_06_15")This model is a fine-tuned version of microsoft/MiniLM-L12-H384-uncased on the emotion 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 |
|---|---|---|---|---|
| 1.367 | 1.0 | 250 | 1.0076 | 0.5959 |
| 0.8543 | 2.0 | 500 | 0.6459 | 0.8558 |
| 0.5709 | 3.0 | 750 | 0.4652 | 0.9057 |
| 0.43 | 4.0 | 1000 | 0.3902 | 0.9161 |
| 0.3763 | 5.0 | 1250 | 0.3634 | 0.9205 |
Base model
microsoft/MiniLM-L12-H384-uncased