stanfordnlp/imdb
Viewer • Updated • 100k • 189k • 370
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.
from transformers import pipeline
classifier = pipeline(
"sentiment-analysis",
model="kckdeepak/imdb-distilbert-sentiment-analysis"
)
result = classifier("This movie was fantastic!")
print(result)