Downloads · 30 days
19
39% of all-time downloads
ishanarang/gemma-sst2-small-finetuned
gemma-sst2-small-finetuned is a text classification model from ishanarang. Use it when you need a label for a piece of text. It is set up for transformers.
--- tags: - text-classification - sst2 - sentiment-analysis ---
Downloads · 30 days
19
39% of all-time downloads
All-time downloads
49
Public
Parameters
2.5B
5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5 GB · 100%
From the Hugging Face model README
tags:
This is a fine-tuned version of the google/gemma-2b-it model on the SST-2 dataset for sentiment classification. It predicts whether a sentence expresses positive or negative sentiment.
from transformers import pipeline
classifier = pipeline("text-classification", model="ishanarang/gemma-sst2-small-finetuned")
print(classifier("I love this movie!"))