dair-ai/emotion
Viewer • Updated • 437k • 33.7k • 440
How to use gokuls/bert-tiny-emotion-KD-BERT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-tiny-emotion-KD-BERT") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-tiny-emotion-KD-BERT")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-tiny-emotion-KD-BERT")This model is a fine-tuned version of google/bert_uncased_L-2_H-128_A-2 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 |
|---|---|---|---|---|
| 3.8247 | 1.0 | 1000 | 2.5170 | 0.7745 |
| 1.9864 | 2.0 | 2000 | 1.3436 | 0.874 |
| 1.1126 | 3.0 | 3000 | 0.8299 | 0.894 |
| 0.6924 | 4.0 | 4000 | 0.6500 | 0.9025 |
| 0.5272 | 5.0 | 5000 | 0.6097 | 0.908 |
| 0.4298 | 6.0 | 6000 | 0.5913 | 0.904 |
| 0.3936 | 7.0 | 7000 | 0.5165 | 0.9135 |
| 0.3238 | 8.0 | 8000 | 0.5120 | 0.9075 |
| 0.3018 | 9.0 | 9000 | 0.4989 | 0.916 |
| 0.2605 | 10.0 | 10000 | 0.4810 | 0.9175 |
| 0.2512 | 11.0 | 11000 | 0.4757 | 0.9135 |
| 0.219 | 12.0 | 12000 | 0.4676 | 0.914 |
| 0.2046 | 13.0 | 13000 | 0.4794 | 0.911 |