stanfordnlp/imdb
Viewer • Updated • 100k • 189k • 370
A fine-tuned DistilBERT model for binary sentiment analysis on movie reviews.
This model was fine-tuned from distilbert-base-uncased on 5,000 IMDb movie reviews for 3 epochs. It classifies text as POSITIVE or NEGATIVE sentiment.
| Metric | Score |
|---|---|
| Accuracy | 88.4% |
| F1 Score | 0.893 |
| Model | Accuracy |
|---|---|
| TF-IDF + Logistic Regression | 86.4% |
| DistilBERT (this model) | 92.3% |
Product review analysis, feedback classification, general English sentiment tasks.
python from transformers import pipeline classifier = pipeline('text-classification', model='YOUR-USERNAME/distilbert-imdb-sentiment') result = classifier('This movie was absolutely incredible!')