dair-ai/emotion
Viewer • Updated • 437k • 33.7k • 440
How to use gokuls/BERT-tiny-emotion-intent with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/BERT-tiny-emotion-intent") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/BERT-tiny-emotion-intent")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/BERT-tiny-emotion-intent")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 |
|---|---|---|---|---|
| 1.2603 | 1.0 | 1000 | 0.7766 | 0.7815 |
| 0.5919 | 2.0 | 2000 | 0.4117 | 0.884 |
| 0.367 | 3.0 | 3000 | 0.3188 | 0.8995 |
| 0.2848 | 4.0 | 4000 | 0.2928 | 0.8985 |
| 0.2395 | 5.0 | 5000 | 0.2906 | 0.898 |
| 0.2094 | 6.0 | 6000 | 0.2887 | 0.907 |
| 0.1884 | 7.0 | 7000 | 0.2831 | 0.9065 |
| 0.1603 | 8.0 | 8000 | 0.3044 | 0.9065 |
| 0.1519 | 9.0 | 9000 | 0.3124 | 0.9095 |
| 0.1291 | 10.0 | 10000 | 0.3256 | 0.9065 |
| 0.1179 | 11.0 | 11000 | 0.3651 | 0.9035 |
| 0.1091 | 12.0 | 12000 | 0.3620 | 0.91 |
| 0.0977 | 13.0 | 13000 | 0.3992 | 0.907 |
| 0.0914 | 14.0 | 14000 | 0.4285 | 0.908 |
| 0.0876 | 15.0 | 15000 | 0.4268 | 0.9055 |