dair-ai/emotion
Viewer โข Updated โข 437k โข 32k โข 491
How to use ArafatBHossain/distiled_flip_model_emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ArafatBHossain/distiled_flip_model_emotion") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ArafatBHossain/distiled_flip_model_emotion")
model = AutoModelForSequenceClassification.from_pretrained("ArafatBHossain/distiled_flip_model_emotion", device_map="auto")This model is a fine-tuned version of ArafatBHossain/distill_bert_fine_tuned_emotion_dataset 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.1681 | 1.0 | 2000 | 0.2442 | 0.9255 |
| 0.1179 | 2.0 | 4000 | 0.1654 | 0.926 |
| 0.0928 | 3.0 | 6000 | 0.1619 | 0.9305 |