Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
waynesbc
/
mod-ws1-FriAug18
like
0
Model card
Files
Files and versions
xet
Community
1
refs/pr/1
mod-ws1-FriAug18
/
pipe1.py
waynesbc
Upload pipe1.py
6292d9e
over 2 years ago
raw
Copy download link
history
blame
Safe
167 Bytes
from
transformers
import
pipeline
classifier = pipeline(
"sentiment-analysis"
)
res = classifier(
"I've been waiting for a HuggingFace course my whole life."
)
print
(res)