This model is a fine-tuned version of distilbert-base-uncased for emotion classification. It classifies text into 6 emotions:
The model was fine-tuned on the Go Emotions dataset, filtered to these 6 emotion categories.
1from transformers import pipeline
2
3classifier = pipeline('text-classification', model='your-username/emotion-classifier-distilbert')
4result = classifier('I love this amazing product!')
5print(f"Emotion: {result[0]['label']}, Confidence: {result[0]['score']:.3f}")
This model is suitable for emotion analysis in text, customer feedback analysis, sentiment-aware chatbots, and social media monitoring.