Views
No views yet
distilbert-base-uncased⚠️ These are approximate demo numbers. With more epochs + GPU training, performance can reach ~90%+.
pipeline:1from transformers import pipeline
2
3clf = pipeline("text-classification", model="vaibhav2507/imdb-distilbert-demo")
4
5print(clf("This movie was fantastic and the acting was brilliant."))
6# [{'label': 'POSITIVE', 'score': 0.99}]
7
8print(clf("Plot holes everywhere. I want my two hours back."))
9# [{'label': 'NEGATIVE', 'score': 0.98}]