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
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support