dair-ai/emotion
Viewer • Updated • 437k • 37.5k • 449
How to use Praveenna/distilbert-emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Praveenna/distilbert-emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Praveenna/distilbert-emotion")
model = AutoModelForSequenceClassification.from_pretrained("Praveenna/distilbert-emotion", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on the emotion dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
distilbert/distilbert-base-uncased