Downloads · 30 days
10
32% of all-time downloads
BhuviMohan/distilbert-imdb-finetuned
distilbert-imdb-finetuned is a text classification model from BhuviMohan. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a fine-tuned version of distilbert-base-uncased on the IMDB movie reviews dataset for binary sentiment classification (positive/negative).
Downloads · 30 days
10
32% of all-time downloads
All-time downloads
31
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
This model is a fine-tuned version of distilbert-base-uncased on the IMDB movie reviews dataset for binary sentiment classification (positive/negative).
from transformers import pipeline
clf = pipeline("text-classification", model="BhuviMohan/distilbert-imdb-finetuned")
print(clf("The movie was absolutely fantastic!"))
## Training Procedure
- Epochs: 1
- Batch size: 8
- Learning rate: 2e-5
- Optimizer: AdamW
- Hardware: CPU training (Windows)
- Results (Evaluation)
**Accuracy: ~1.0 (on 2k subset)**
Save the file.
---
# ✅ **STEP 5 — Upload model to Hugging Face Hub**
Make sure your token is created with **Write access**.
Then login (if not logged in):
```bash
huggingface-cli login