Downloads · 30 days
13
5% of all-time downloads
franckidda/my-sentiment-classifier
my-sentiment-classifier is a text generation model from franckidda. Use it when you need the model to write or continue text. The card lists the license as mit.
Description du modèle. model : distilbert-base-uncased-finetuned-sst-2-english labels : POSITIVE, NEGATIVE Example usage:
Downloads · 30 days
13
5% of all-time downloads
All-time downloads
288
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
Description du modèle. model : distilbert-base-uncased-finetuned-sst-2-english labels : POSITIVE, NEGATIVE Example usage:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("my-username/my-model")
tokenizer = AutoTokenizer.from_pretrained("my-username/my-model")
inputs = tokenizer("I love this movie!", return_tensors="pt")
outputs = model(**inputs)