Downloads · 30 days
11
41% of all-time downloads
mmadu/emotion-classifier-distilbert
emotion-classifier-distilbert is a text classification model from mmadu. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of distilbert-base-uncased for emotion classification. It classifies text into 6 emotions:
Downloads · 30 days
11
41% of all-time downloads
All-time downloads
27
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
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.
from transformers import pipeline
classifier = pipeline('text-classification', model='your-username/emotion-classifier-distilbert')
result = classifier('I love this amazing product!')
print(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.