dair-ai/emotion
Viewer • Updated • 437k • 33.6k • 441
How to use gokuls/bert-tiny-emotion-KD-distilBERT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-tiny-emotion-KD-distilBERT") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-tiny-emotion-KD-distilBERT")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-tiny-emotion-KD-distilBERT")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 |
|---|---|---|---|---|
| 4.2533 | 1.0 | 1000 | 2.8358 | 0.7675 |
| 2.3274 | 2.0 | 2000 | 1.5893 | 0.8675 |
| 1.3974 | 3.0 | 3000 | 1.0286 | 0.891 |
| 0.9035 | 4.0 | 4000 | 0.7534 | 0.8955 |
| 0.6619 | 5.0 | 5000 | 0.6350 | 0.905 |
| 0.5482 | 6.0 | 6000 | 0.6180 | 0.899 |
| 0.4937 | 7.0 | 7000 | 0.5448 | 0.91 |
| 0.4013 | 8.0 | 8000 | 0.5493 | 0.906 |
| 0.3839 | 9.0 | 9000 | 0.5481 | 0.9095 |
| 0.3281 | 10.0 | 10000 | 0.5528 | 0.9115 |
| 0.3098 | 11.0 | 11000 | 0.5864 | 0.9095 |
| 0.2762 | 12.0 | 12000 | 0.5566 | 0.9095 |
| 0.2467 | 13.0 | 13000 | 0.5444 | 0.913 |
| 0.2286 | 14.0 | 14000 | 0.5306 | 0.912 |
| 0.2215 | 15.0 | 15000 | 0.5312 | 0.9115 |
| 0.2038 | 16.0 | 16000 | 0.5242 | 0.912 |