Downloads · 30 days
6
12% of all-time downloads
alijawad252525/my-sentiment-model
my-sentiment-model is a machine learning model from alijawad252525. 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 beginner-friendly sentiment analysis model uploaded to the Hugging Face Hub.
Downloads · 30 days
6
12% of all-time downloads
All-time downloads
52
Public
Parameters
67M
268 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This is a beginner-friendly sentiment analysis model uploaded to the Hugging Face Hub.
distilbert-base-uncased-finetuned-sst-2-english
Sentiment Analysis
This model predicts whether an English sentence is POSITIVE or NEGATIVE.
from transformers import pipeline
pipe = pipeline(
"sentiment-analysis",
model="alijawad252525/my-sentiment-model"
)
print(pipe("Great movie!"))
Input: I love machine learning.
Output: POSITIVE
Input: The service was terrible.
Output: NEGATIVE
Ali Jawad