dair-ai/emotion
Viewer โข Updated โข 437k โข 32.2k โข 491
How to use ElinLiu/distilbert-base-uncased with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ElinLiu/distilbert-base-uncased") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ElinLiu/distilbert-base-uncased")
model = AutoModelForSequenceClassification.from_pretrained("ElinLiu/distilbert-base-uncased", device_map="auto")This model was trained from scratch 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 | F1 |
|---|---|---|---|---|---|
| 0.0738 | 1.0 | 250 | 0.1987 | 0.934 | 0.9345 |
| 0.0681 | 2.0 | 500 | 0.1845 | 0.933 | 0.9331 |