Simple Sentiment Analyzer
๐ This is a sentiment analysis model trained to classify text as Positive or Negative.
Model Details
- Architecture: DistilBERT (fine-tuned for sentiment classification)
- Framework: ๐ค Transformers
- Files included:
config.jsonmodel.safetensorstokenizer.jsontokenizer_config.jsonspecial_tokens_map.jsonvocab.txt
Usage
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="Rugs25/simple-sentiment-analyzer")
print(classifier("I love Hugging Face!")) # โ POSITIVE
print(classifier("This is terrible.")) # โ NEGATIVE
- Downloads last month
- 1