dair-ai/emotion
Viewer • Updated • 437k • 34.2k • 439
How to use omerfguzel/emotion_funnel-transformer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="omerfguzel/emotion_funnel-transformer") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("omerfguzel/emotion_funnel-transformer")
model = AutoModelForSequenceClassification.from_pretrained("omerfguzel/emotion_funnel-transformer")This model is a fine-tuned version of funnel-transformer/small 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 |
|---|---|---|---|---|
| No log | 1.0 | 250 | 0.4164 | 0.863 |
| 0.6384 | 2.0 | 500 | 0.2493 | 0.911 |
| 0.6384 | 3.0 | 750 | 0.2227 | 0.9225 |
Base model
funnel-transformer/small