dair-ai/emotion
Viewer • Updated • 437k • 33.6k • 441
How to use gokuls/bert-base-emotion_24 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-base-emotion_24") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-base-emotion_24")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-base-emotion_24")This model is a fine-tuned version of gokuls/bert_base_24 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.736 | 1.0 | 250 | 0.4242 | 0.8565 |
| 0.3013 | 2.0 | 500 | 0.3314 | 0.8845 |
| 0.2014 | 3.0 | 750 | 0.3442 | 0.8905 |
| 0.1392 | 4.0 | 1000 | 0.3276 | 0.8915 |
| 0.1072 | 5.0 | 1250 | 0.3833 | 0.89 |
| 0.0783 | 6.0 | 1500 | 0.4205 | 0.8895 |
| 0.0559 | 7.0 | 1750 | 0.5287 | 0.8865 |
| 0.0378 | 8.0 | 2000 | 0.5459 | 0.8865 |
| 0.027 | 9.0 | 2250 | 0.5612 | 0.8925 |
| 0.02 | 10.0 | 2500 | 0.5601 | 0.8915 |