CogSphere / textsentiment
CognitiveScience's picture
Create textsentiment
c1a4dbd
raw
history blame
No virus
130 Bytes
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="stevhliu/my_awesome_model")
classifier(text)