Views
No views yet
1from transformers import pipeline 2 3classifier = pipeline("text-classification", model="AutoBot000/distilbert-imdb-sentiment") 4result = classifier("This movie was absolutely fantastic!") 5print(result)