Views
No views yet
distilbert-base-uncased on the IMDB sentiment dataset.1from transformers import pipeline
2classifier = pipeline("sentiment-analysis", model="YOUR_USERNAME/distilbert-imdb-sentiment-graduation")
3classifier("This movie was fantastic!")