Sentiment Classifier Demo

This is a sentiment classification model based on distilbert-base-uncased-finetuned-sst-2-english.

🧠 Model Details

  • Base Model: distilBERT
  • Task: Sentiment Analysis (Positive / Negative)
  • Dataset: SST-2 (Stanford Sentiment Treebank)
  • Fine-tuned: This model simulates a fine-tuned version saved and uploaded locally.

πŸ” Usage

You can use this model directly via the Hugging Face Inference API or transformers:

from transformers import pipeline

classifier = pipeline("sentiment-analysis", model="your-username/sentiment-classifier-demo")
result = classifier("This movie was amazing!")
print(result)
Downloads last month
7
Safetensors
Model size
67M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support