dair-ai/emotion
Viewer • Updated • 437k • 21.1k • 457
How to use jouchuki/bert-emotion-clf with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="jouchuki/bert-emotion-clf") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("jouchuki/bert-emotion-clf")
model = AutoModelForSequenceClassification.from_pretrained("jouchuki/bert-emotion-clf", 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 | F1 |
|---|---|---|---|---|
| 0.1951 | 1.0 | 1000 | 0.1886 | 0.9328 |
| 0.1353 | 2.0 | 2000 | 0.1450 | 0.9379 |
| 0.0826 | 3.0 | 3000 | 0.1641 | 0.9318 |