Views
No views yet
bert-base-uncased1from transformers import pipeline
2
3classifier = pipeline("sentiment-analysis", model="Avinash-panda/bert-sentiment-imdb")
4
5print(classifier("The movie was absolutely fantastic!"))
6# [{'label': 'POSITIVE', 'score': 0.98}]