dair-ai/emotion
Viewer • Updated • 437k • 33.8k • 440
How to use YourBestBuddy/results with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="YourBestBuddy/results") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("YourBestBuddy/results")
model = AutoModelForSequenceClassification.from_pretrained("YourBestBuddy/results")This model is a fine-tuned version of distilbert-base-uncased on an Emotion Dataset.
This model fine-tunes DistilBERT for emotion classification. It can detect emotions in language and then classify them into: sadness, joy, love, anger, fear, surprise.
Used to explain the inner emotions of simple sentences. This model may lack contextual reasoning ability and cannot understand connecting words such as transitions.
The following hyperparameters were used during training:
Base model
distilbert/distilbert-base-uncased