Downloads · 30 days
5
19% of all-time downloads
qusai00/distilbert-imdb-sentiment
distilbert-imdb-sentiment is a text classification model from qusai00. 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 the IMDB movie reviews dataset.
Downloads · 30 days
5
19% of all-time downloads
All-time downloads
27
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
A fine-tuned DistilBERT model for binary sentiment analysis on the IMDB movie reviews dataset.
This model is fine-tuned on a subset of the IMDB Reviews dataset to classify movie reviews as positive or negative. It is designed as a clean, end-to-end NLP project demonstrating:
Trainerpipeline| Metric | Score |
|---|---|
| Accuracy | ~0.90 |
| F1-score | ~0.90 |
Note: Results are reported on a validation subset and are intended for demonstration purposes.
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="qusai00/distilbert-imdb-sentiment"
)
print(classifier("This movie was amazing, I loved it!"))
print(classifier("Terrible film, waste of time."))
Files in this Repository
. model.safetensors — fine-tuned model weights
. config.json — model configuration
. tokenizer.json / vocab.txt — tokenizer files
. training_args.bin — training configuration
Author
Qusai (qusai00)
AI / NLP Engineer in training