Views
No views yet
distilbert-base-uncased.AutoModelForSequenceClassification.1from transformers import pipeline
2
3sentiment_analyzer = pipeline("sentiment-analysis", model="fitsblb/YelpReviewsAnalyzer")
4
5result = sentiment_analyzer("The food was amazing but the service was slow.")
6print(result)