stanfordnlp/imdb
Viewer • Updated • 100k • 169k • 390
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)