shorif-sentiment-mini is a lightweight sentiment classification model designed to identify positive, neutral, and negative sentiment from short to medium-length English texts.
The model is based on a compact BERT-style transformer with 4 encoder layers and reduced hidden dimensions for faster inference.
1from transformers import pipeline
2classifier = pipeline("text-classification", model="shorif-sentiment-mini")
3classifier("This product works really well")