dair-ai/emotion
Viewer • Updated • 437k • 35.4k • 444
How to use Tirendaz/distilbert-for-emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Tirendaz/distilbert-for-emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Tirendaz/distilbert-for-emotion")
model = AutoModelForSequenceClassification.from_pretrained("Tirendaz/distilbert-for-emotion")This model is a fine-tuned version of distilbert-base-uncased on the emotion dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 125 | 0.3785 | 0.896 |
Base model
distilbert/distilbert-base-uncased