CogSphere / textsentiment
CognitiveScience's picture
Update textsentiment
7a75335
raw
history blame
No virus
147 Bytes
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="stevhliu/my_awesome_model")
print (classifier("hello world"))