Downloads · 30 days
13
19% of all-time downloads
Wadden/distilbert-sentiment-demo
distilbert-sentiment-demo is a text classification model from Wadden. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Fine-tuned distilbert-base-uncased for 2 epochs on the official rottentomatoes splits. Labels are NEGATIVE (0) and POSITIVE (1).
Downloads · 30 days
13
19% of all-time downloads
All-time downloads
68
Public
Parameters
67M
603 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 80%
From the Hugging Face model README
Fine-tuned distilbert-base-uncased for 2 epochs on the official
rotten_tomatoes splits. Labels are NEGATIVE (0) and POSITIVE (1).
| Metric | Value |
|---|---|
| Accuracy | 0.8499 |
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="Wadden/distilbert-sentiment-demo")
classifier("This movie was fantastic!")
The quantized ONNX export is executed directly in the browser with Transformers.js: