Wadden/distilbert-sentiment-demo
063
DistilBERT Sentiment Classifier
Fine-tuned distilbert-base-uncased for 2 epochs on the official rotten_tomatoes splits. Labels are NEGATIVE (0) and POSITIVE (1).
Test result
Usage
from transformers import pipeline classifier = pipeline("sentiment-analysis", model="Wadden/distilbert-sentiment-demo") classifier("This movie was fantastic!")
Interactive demo
The quantized ONNX export is executed directly in the browser with Transformers.js:
[Open the interactive Space](https://huggingface.co/spaces/Wadden/distilbert-sentiment-space)
