Downloads · 30 days
5
6% of all-time downloads
Hannia67/my-sentiment-analyzer
my-sentiment-analyzer is a text classification model from Hannia67. 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
5
6% of all-time downloads
All-time downloads
83
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).
| Metric | Score |
|---|---|
| Accuracy | 0.877 |
| Precision | 0.869 |
| Recall | 0.887 |
| F1 | 0.878 |
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="Hannia67/my-sentiment-analyzer")
result = classifier("This was a great experience!")
print(result)