dair-ai/emotion
Viewer • Updated • 437k • 28.8k • 449
How to use soltaniali/my_model_nlp_workshop_2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="soltaniali/my_model_nlp_workshop_2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("soltaniali/my_model_nlp_workshop_2")
model = AutoModelForSequenceClassification.from_pretrained("soltaniali/my_model_nlp_workshop_2", device_map="auto")This model is a fine-tuned version of FacebookAI/roberta-base 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.2639 | 1.0 | 1000 | 0.2136 | 0.9305 |
| 0.1664 | 2.0 | 2000 | 0.1485 | 0.9385 |
| 0.105 | 3.0 | 3000 | 0.1369 | 0.942 |
Base model
FacebookAI/roberta-base