Downloads · 30 days
3
5% of all-time downloads
abidanoaman/my-sentiment-analyzer
my-sentiment-analyzer is a text classification model from abidanoaman. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
Fine-tuned distilbert-base-uncased for binary sentiment classification (0 = negative, 1 = positive).
Downloads · 30 days
3
5% of all-time downloads
All-time downloads
56
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
Fine-tuned distilbert-base-uncased for binary sentiment classification (0 = negative, 1 = positive).
Classify English-language text (reviews, comments, feedback) as positive or negative sentiment.
distilbert-base-uncased| Metric | Score |
|---|---|
| Accuracy | 0.872 |
| Precision | 0.861 |
| Recall | 0.888 |
| F1 | 0.874 |
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="abidanoaman/my-sentiment-analyzer")
result = classifier("This was a great experience!")
print(result)