BlessedDovis/distilbert-sentiment-analysis
06
DistilBERT Sentiment Analysis
Fine-tuned distilbert-base-uncased on the IMDB movie review dataset for binary sentiment classification (positive / negative).
Results
Usage
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="BlessedDovis/distilbert-sentiment-analysis"
)
result = classifier("This movie was absolutely fantastic!")
# POSITIVE — 99.52% confidenceTraining
- Base model: distilbert-base-uncased
- Dataset: IMDB (25,000 train / 25,000 test)
- Hardware: Google Colab T4 GPU
- Framework: HuggingFace Transformers + PyTorch
- Batch size: 16
- Mixed precision: fp16
