dair-ai/emotion
Viewer β’ Updated β’ 437k β’ 33.8k β’ 439
How to use trnt/twitter_emotions with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="trnt/twitter_emotions") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("trnt/twitter_emotions")
model = AutoModelForSequenceClassification.from_pretrained("trnt/twitter_emotions")This model is a fine-tuned version of sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 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 |
|---|---|---|---|---|
| 0.2486 | 1.0 | 2000 | 0.2115 | 0.931 |
| 0.135 | 2.0 | 4000 | 0.1725 | 0.936 |
| 0.1041 | 3.0 | 6000 | 0.1647 | 0.9375 |