from transformers import pipeline | |
classifier = pipeline(task="sentiment-analysis") | |
preds = classifier("Hugging Face is the best thing since sliced bread!") |
from transformers import pipeline | |
classifier = pipeline(task="sentiment-analysis") | |
preds = classifier("Hugging Face is the best thing since sliced bread!") |