Downloads · 30 days
7
47% of all-time downloads
susrutha04/sentiment-classifier-demo
sentiment-classifier-demo is a machine learning model from susrutha04. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a sentiment classification model based on distilbert-base-uncased-finetuned-sst-2-english.
Downloads · 30 days
7
47% of all-time downloads
All-time downloads
15
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This is a sentiment classification model based on distilbert-base-uncased-finetuned-sst-2-english.
You can use this model directly via the Hugging Face Inference API or transformers:
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="your-username/sentiment-classifier-demo")
result = classifier("This movie was amazing!")
print(result)