YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
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
- Downloads last month
- 422