dair-ai/emotion
Viewer • Updated • 437k • 33.8k • 440
How to use gokuls/distilbert-emotion-intent with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/distilbert-emotion-intent") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/distilbert-emotion-intent")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/distilbert-emotion-intent")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 |
|---|---|---|---|---|
| 0.3939 | 1.0 | 1000 | 0.2123 | 0.9285 |
| 0.1539 | 2.0 | 2000 | 0.1635 | 0.936 |
| 0.1213 | 3.0 | 3000 | 0.1820 | 0.931 |
| 0.1016 | 4.0 | 4000 | 0.1989 | 0.937 |
| 0.0713 | 5.0 | 5000 | 0.2681 | 0.935 |
| 0.0462 | 6.0 | 6000 | 0.3034 | 0.9365 |
| 0.027 | 7.0 | 7000 | 0.3538 | 0.937 |