dair-ai/emotion
Viewer • Updated • 437k • 33.6k • 441
How to use gokuls/bert-base-emotion_48 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-base-emotion_48") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-base-emotion_48")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-base-emotion_48")This model is a fine-tuned version of gokuls/bert_base_48 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.7185 | 1.0 | 250 | 0.3644 | 0.8735 |
| 0.2792 | 2.0 | 500 | 0.3189 | 0.887 |
| 0.1922 | 3.0 | 750 | 0.3294 | 0.893 |
| 0.1311 | 4.0 | 1000 | 0.3895 | 0.891 |
| 0.098 | 5.0 | 1250 | 0.3870 | 0.8905 |
| 0.0702 | 6.0 | 1500 | 0.4275 | 0.8895 |
| 0.05 | 7.0 | 1750 | 0.5372 | 0.886 |
| 0.0332 | 8.0 | 2000 | 0.5702 | 0.8905 |
| 0.023 | 9.0 | 2250 | 0.5759 | 0.8915 |
| 0.0176 | 10.0 | 2500 | 0.5959 | 0.891 |