label 1, 2

#5
by pk1762006 - opened

Label 1 and 2 is positive sentiment, or negative sentiment?
pipeline("text-classification", model="nlptown/bert-base-multilingual-uncased-sentiment")

response = sentiment_analyzer(prompt, truncation=True)[0]
print(response['label']

Sign up or log in to comment