Downloads · 30 days
12
13% of all-time downloads
Asmatullah-AI-Engineer/distilbert-imdb-sentiment
distilbert-imdb-sentiment is a text classification model from Asmatullah-AI-Engineer. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
A fine-tuned DistilBERT model for binary sentiment analysis on movie reviews.
Downloads · 30 days
12
13% of all-time downloads
All-time downloads
94
Public
Parameters
67M
1.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
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!')