dair-ai/emotion
Viewer • Updated • 437k • 33.2k • 440
How to use JayShah07/Tweet-finetuned-emotion-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="JayShah07/Tweet-finetuned-emotion-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("JayShah07/Tweet-finetuned-emotion-classification")
model = AutoModelForSequenceClassification.from_pretrained("JayShah07/Tweet-finetuned-emotion-classification")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 |
|---|---|---|---|---|---|
| 0.7744 | 1.0 | 250 | 0.2544 | 0.9185 | 0.9189 |
| 0.1925 | 2.0 | 500 | 0.1659 | 0.9355 | 0.9354 |
| 0.1285 | 3.0 | 750 | 0.1505 | 0.936 | 0.9367 |
| 0.1008 | 4.0 | 1000 | 0.1402 | 0.942 | 0.9419 |
| 0.0822 | 5.0 | 1250 | 0.1429 | 0.9405 | 0.9405 |
| 0.0676 | 6.0 | 1500 | 0.1512 | 0.9395 | 0.9396 |
| 0.0562 | 7.0 | 1750 | 0.1641 | 0.9385 | 0.9384 |
| 0.046 | 8.0 | 2000 | 0.1698 | 0.935 | 0.9351 |
| 0.0379 | 9.0 | 2250 | 0.1705 | 0.939 | 0.9389 |
| 0.0334 | 10.0 | 2500 | 0.1714 | 0.9395 | 0.9395 |
Base model
distilbert/distilbert-base-uncased