CoolFace
Modelpublic

Rugs25/simple-sentiment-analyzer

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes8downloads
Model Card

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.json
  • โ€”model.safetensors
  • โ€”tokenizer.json
  • โ€”tokenizer_config.json
  • โ€”special_tokens_map.json
  • โ€”vocab.txt

Usage

python
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