dair-ai/emotion
Viewer • Updated • 437k • 33.8k • 440
How to use gokuls/distilroberta-emotion-intent with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/distilroberta-emotion-intent") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/distilroberta-emotion-intent")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/distilroberta-emotion-intent")This model is a fine-tuned version of distilroberta-base 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.4501 | 1.0 | 1000 | 0.2432 | 0.924 |
| 0.1947 | 2.0 | 2000 | 0.1646 | 0.934 |
| 0.1497 | 3.0 | 3000 | 0.1382 | 0.9405 |
| 0.1316 | 4.0 | 4000 | 0.1496 | 0.9435 |
| 0.1145 | 5.0 | 5000 | 0.1684 | 0.9385 |
| 0.1 | 6.0 | 6000 | 0.2342 | 0.943 |
| 0.0828 | 7.0 | 7000 | 0.2807 | 0.939 |