DistilBERT Sentiment Analysis (IMDB)

This model is a fine-tuned version of DistilBERT-base-uncased for binary sentiment classification on movie reviews.

It classifies reviews as Positive or Negative.

Model Details

  • Base Model: distilbert-base-uncased
  • Dataset: IMDB Movie Reviews (25k train, 25k test)
  • Task: Sentiment Analysis (Positive / Negative)
  • Training: Fine-tuned using Hugging Face Trainer API

Results

  • Accuracy on small subset (2k examples): 89.0%
  • Expected accuracy on full dataset: ~92-94%

Usage

from transformers import pipeline

classifier = pipeline(
    "sentiment-analysis", 
    model="kckdeepak/imdb-distilbert-sentiment-analysis"
)

result = classifier("This movie was fantastic!")
print(result)
Downloads last month
12
Safetensors
Model size
67M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train kckdeepak/imdb-distilbert-sentiment-analysis