dair-ai/emotion
Viewer โข Updated โข 437k โข 32.2k โข 491
How to use eddyjin/emotion-guesser2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="eddyjin/emotion-guesser2") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("eddyjin/emotion-guesser2")
model = AutoModelForSequenceClassification.from_pretrained("eddyjin/emotion-guesser2", device_map="auto")This model is a fine-tuned version of microsoft/MiniLM-L12-H384-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 |
|---|---|---|---|
| No log | 1.0 | 125 | 1.5836 |
| No log | 2.0 | 250 | 1.3238 |
| No log | 3.0 | 375 | 1.2428 |
Base model
microsoft/MiniLM-L12-H384-uncased