dair-ai/emotion
Viewer • Updated • 437k • 19.9k • 453
How to use Parth1612/pp_distilbert_ft_emotions with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Parth1612/pp_distilbert_ft_emotions") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Parth1612/pp_distilbert_ft_emotions")
model = AutoModelForSequenceClassification.from_pretrained("Parth1612/pp_distilbert_ft_emotions", 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 |
|---|---|---|---|---|
| No log | 0.25 | 50 | 0.7329 | 0.758 |
| No log | 0.5 | 100 | 0.2915 | 0.9195 |
| No log | 0.75 | 150 | 0.2150 | 0.927 |
| No log | 1.0 | 200 | 0.1780 | 0.9285 |
| No log | 1.25 | 250 | 0.1777 | 0.9295 |
| No log | 1.5 | 300 | 0.1547 | 0.937 |
| No log | 1.75 | 350 | 0.1467 | 0.935 |
| No log | 2.0 | 400 | 0.1446 | 0.937 |
| No log | 2.25 | 450 | 0.1482 | 0.934 |
| 0.3073 | 2.5 | 500 | 0.1335 | 0.9385 |
| 0.3073 | 2.75 | 550 | 0.1344 | 0.9415 |
| 0.3073 | 3.0 | 600 | 0.1229 | 0.9425 |
| 0.3073 | 3.25 | 650 | 0.1381 | 0.939 |
| 0.3073 | 3.5 | 700 | 0.1292 | 0.941 |
| 0.3073 | 3.75 | 750 | 0.1278 | 0.944 |
| 0.3073 | 4.0 | 800 | 0.1258 | 0.944 |
Base model
distilbert/distilbert-base-uncased