dair-ai/emotion
Viewer • Updated • 437k • 34.1k • 446
How to use adrianhenkel/distilbert-base-uncased-fine-tuned-emotions with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="adrianhenkel/distilbert-base-uncased-fine-tuned-emotions") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("adrianhenkel/distilbert-base-uncased-fine-tuned-emotions")
model = AutoModelForSequenceClassification.from_pretrained("adrianhenkel/distilbert-base-uncased-fine-tuned-emotions")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 Score |
|---|---|---|---|---|---|
| 0.478 | 1.0 | 125 | 0.1852 | 0.931 | 0.9309 |
| 0.1285 | 2.0 | 250 | 0.1377 | 0.9335 | 0.9338 |