dair-ai/emotion
Viewer • Updated • 437k • 33.6k • 441
How to use Emanuel/twitter-emotion-deberta-v3-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Emanuel/twitter-emotion-deberta-v3-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Emanuel/twitter-emotion-deberta-v3-base")
model = AutoModelForSequenceClassification.from_pretrained("Emanuel/twitter-emotion-deberta-v3-base")This model is a fine-tuned version of DeBERTa-v3. It achieves the following results on the evaluation set:
The following hyperparameters were used during training: