dair-ai/emotion
Viewer • Updated • 437k • 37.9k • 449
How to use ncduy/bert-base-cased-finetuned-emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ncduy/bert-base-cased-finetuned-emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ncduy/bert-base-cased-finetuned-emotion")
model = AutoModelForSequenceClassification.from_pretrained("ncduy/bert-base-cased-finetuned-emotion")This model is a fine-tuned version of bert-base-cased 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 | F1 |
|---|---|---|---|---|
| 0.7357 | 1.0 | 250 | 0.2318 | 0.9224 |
| 0.1758 | 2.0 | 500 | 0.1679 | 0.9349 |
| 0.1228 | 3.0 | 750 | 0.1385 | 0.9382 |
| 0.0961 | 4.0 | 1000 | 0.1452 | 0.9340 |
| 0.0805 | 5.0 | 1250 | 0.1342 | 0.9365 |