samandar1105/sentiment-classifier
010
RoBERTa Fine-Tuned for Sentiment Analysis
This model classifies English text as either Positive ๐ or Negative ๐.
Fine-tuned from roberta-base on a combination of SST-2 (Stanford Sentiment Treebank) and IMDB movie reviews.
Performance
Evaluated on 20,000 held-out IMDB test samples.
How to Use
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="samandar1105/sentiment-classifier"
)
result = classifier("This movie was absolutely fantastic!")
print(result)
# [{'label': 'positive', 'score': 0.998}]Labels
Training Details
Limitations
- Trained on English text only
- Optimized for movie/review-style text
- Binary only (positive / negative) โ no neutral class
