stanfordnlp/imdb
Viewer • Updated • 100k • 183k • 424
Fine-tuned distilbert-base-uncased for binary sentiment classification.
Classify English text as positive or negative.
Accuracy: 0.870
Precision: 0.879
Recall: 0.858
F1: 0.868
from transformers import pipeline
classifier = pipeline( "sentiment-analysis", model="ayesha9f/sentiment-tutorial" )
classifier("This was a great experience!")