dair-ai/emotion
Viewer • Updated • 437k • 24.9k • 462
How to use ShayDuane/distilbert-base-uncased_emotion_ft_0526 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ShayDuane/distilbert-base-uncased_emotion_ft_0526") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ShayDuane/distilbert-base-uncased_emotion_ft_0526")
model = AutoModelForSequenceClassification.from_pretrained("ShayDuane/distilbert-base-uncased_emotion_ft_0526", device_map="auto")This model is a fine-tuned version of distilbert-base-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 | Accuracy | F1 | Precision |
|---|---|---|---|---|---|---|
| 0.2131 | 1.0 | 2000 | 0.2301 | 0.93 | 0.9305 | 0.9008 |
| 0.1881 | 2.0 | 4000 | 0.1854 | 0.9385 | 0.9388 | 0.9080 |
| 0.1012 | 3.0 | 6000 | 0.2200 | 0.935 | 0.9353 | 0.9066 |
| 0.0642 | 4.0 | 8000 | 0.2275 | 0.9375 | 0.9376 | 0.9170 |