stanfordnlp/imdb
Viewer • Updated • 100k • 263k • 383
Fine-tuned distilbert-base-uncased on the IMDB movie review dataset for binary sentiment classification (positive / negative).
| Metric | Score |
|---|---|
| Test accuracy | 91.33% |
| Training loss | 0.238 |
| Validation loss | 0.225 |
| Epochs | 1 |
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="BlessedDovis/distilbert-sentiment-analysis"
)
result = classifier("This movie was absolutely fantastic!")
# POSITIVE — 99.52% confidence