dair-ai/emotion
Viewer • Updated • 437k • 33.8k • 439
How to use ThePromptKing/bert_emo_classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ThePromptKing/bert_emo_classifier") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ThePromptKing/bert_emo_classifier")
model = AutoModelForSequenceClassification.from_pretrained("ThePromptKing/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:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.8874 | 0.25 | 500 | 0.4256 |
| 0.3255 | 0.5 | 1000 | 0.3233 |
| 0.2754 | 0.75 | 1500 | 0.2736 |
| 0.242 | 1.0 | 2000 | 0.2263 |
| 0.1661 | 1.25 | 2500 | 0.2118 |
| 0.1614 | 1.5 | 3000 | 0.1812 |
| 0.1434 | 1.75 | 3500 | 0.1924 |
| 0.1629 | 2.0 | 4000 | 0.1766 |
| 0.1066 | 2.25 | 4500 | 0.2100 |
| 0.1313 | 2.5 | 5000 | 0.1996 |
| 0.1113 | 2.75 | 5500 | 0.2185 |
| 0.115 | 3.0 | 6000 | 0.2406 |
| 0.0697 | 3.25 | 6500 | 0.2485 |
| 0.0835 | 3.5 | 7000 | 0.2391 |
| 0.0637 | 3.75 | 7500 | 0.2695 |
| 0.0707 | 4.0 | 8000 | 0.2652 |