dair-ai/emotion
Viewer • Updated • 437k • 19.9k • 453
How to use Meet04/BERT_trainer_emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Meet04/BERT_trainer_emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Meet04/BERT_trainer_emotion")
model = AutoModelForSequenceClassification.from_pretrained("Meet04/BERT_trainer_emotion", device_map="auto")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 | Accuracy |
|---|---|---|---|---|
| 0.1069 | 1.0 | 2000 | 0.2630 | 0.9395 |
| 0.0919 | 2.0 | 4000 | 0.3229 | 0.937 |
| 0.0459 | 3.0 | 6000 | 0.3550 | 0.943 |
| 0.0203 | 4.0 | 8000 | 0.3714 | 0.942 |
Base model
google-bert/bert-base-uncased