dair-ai/emotion
Viewer • Updated • 437k • 38.4k • 476
How to use coder903/distilbert-base-uncased-finetuned-emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="coder903/distilbert-base-uncased-finetuned-emotion") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("coder903/distilbert-base-uncased-finetuned-emotion")
model = AutoModelForSequenceClassification.from_pretrained("coder903/distilbert-base-uncased-finetuned-emotion", device_map="auto")This model is a fine-tuned version of distilbert-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 | F1 |
|---|---|---|---|---|---|
| No log | 1.0 | 16 | 1.5414 | 0.4595 | 0.3434 |
| No log | 2.0 | 32 | 1.3288 | 0.564 | 0.4405 |
| No log | 3.0 | 48 | 1.2429 | 0.5815 | 0.4560 |