``` | |
from transformers import pipeline | |
classifier = pipeline("text-classification", model="matthewburke/korean_sentiment") | |
custom_tweet = "์ํ ์ฌ๋ฐ๋ค." | |
preds = classifier(custom_tweet, return_all_scores=True) | |
is_positive = preds[0][1]['score'] > 0.5 | |
``` | |