dair-ai/emotion
Viewer • Updated • 437k • 33.8k • 439
How to use Iftesha/miniLm-tuned-emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Iftesha/miniLm-tuned-emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Iftesha/miniLm-tuned-emotion")
model = AutoModelForSequenceClassification.from_pretrained("Iftesha/miniLm-tuned-emotion")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 |
|---|---|---|---|---|
| 0.0968 | 1.0 | 250 | 0.1843 | 0.9323 |
| 0.0798 | 2.0 | 500 | 0.1784 | 0.9380 |
| 0.0698 | 3.0 | 750 | 0.2012 | 0.9380 |
| 0.0639 | 4.0 | 1000 | 0.1847 | 0.9420 |
| 0.0593 | 5.0 | 1250 | 0.1777 | 0.9384 |