dair-ai/emotion
Viewer • Updated • 437k • 33.7k • 444
How to use Manirathinam21/bert_emo_classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Manirathinam21/bert_emo_classifier") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Manirathinam21/bert_emo_classifier")
model = AutoModelForSequenceClassification.from_pretrained("Manirathinam21/bert_emo_classifier")This model is a fine-tuned version of bert-base-uncased on the emotion dataset. It achieves the following results on the evaluation set:
label: a classification label, with possible values including
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.1497 | 0.25 | 500 | 0.2911 |
| 0.1221 | 0.5 | 1000 | 0.3190 |
| 0.108 | 0.75 | 1500 | 0.3343 |
| 0.1296 | 1.0 | 2000 | 0.2803 |
| 0.0611 | 1.25 | 2500 | 0.3392 |
| 0.0651 | 1.5 | 3000 | 0.3400 |
| 0.0588 | 1.75 | 3500 | 0.3733 |
| 0.0993 | 2.0 | 4000 | 0.3672 |
| 0.0385 | 2.25 | 4500 | 0.4041 |
| 0.0509 | 2.5 | 5000 | 0.3906 |
| 0.0651 | 2.75 | 5500 | 0.3809 |
| 0.0693 | 3.0 | 6000 | 0.3944 |
| 0.0471 | 3.25 | 6500 | 0.3926 |
| 0.0462 | 3.5 | 7000 | 0.3837 |
| 0.0326 | 3.75 | 7500 | 0.3752 |
| 0.0233 | 4.0 | 8000 | 0.3768 |