dair-ai/emotion
Viewer • Updated • 437k • 37.6k • 446
How to use learn2pro/distilbert-base-uncased_emotion_ft_learn2pro with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="learn2pro/distilbert-base-uncased_emotion_ft_learn2pro") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("learn2pro/distilbert-base-uncased_emotion_ft_learn2pro")
model = AutoModelForSequenceClassification.from_pretrained("learn2pro/distilbert-base-uncased_emotion_ft_learn2pro")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.7939 | 1.0 | 250 | 0.2551 | 0.9115 | 0.9095 | 0.8923 |
| 0.2063 | 2.0 | 500 | 0.1629 | 0.931 | 0.9310 | 0.9116 |
| 0.1384 | 3.0 | 750 | 0.1491 | 0.9375 | 0.9380 | 0.9073 |
| 0.1099 | 4.0 | 1000 | 0.1427 | 0.937 | 0.9373 | 0.9097 |