dair-ai/emotion
Viewer • Updated • 437k • 37.5k • 449
How to use lilyray/albert_emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="lilyray/albert_emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("lilyray/albert_emotion")
model = AutoModelForSequenceClassification.from_pretrained("lilyray/albert_emotion", device_map="auto")This model is a fine-tuned version of lilyray/albert_emotion 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.1744 | 1.0 | 4000 | 0.2001 | 0.938 |
Unable to build the model tree, the base model loops to the model itself. Learn more.