Downloads · 30 days
9
20% of all-time downloads
Wadden/sentiment-versioning-demo
sentiment-versioning-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.
Three traceable DistilBERT variants from the model-versioning lab. Each variant is a Hub commit and tag; the best one is exposed through the production branch for independent deployment and rollback.
Downloads · 30 days
9
20% of all-time downloads
All-time downloads
46
Public
Parameters
67M
871 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
Three traceable DistilBERT variants from the model-versioning lab.
Each variant is a Hub commit and tag; the best one is exposed through the
production branch for independent deployment and rollback.
| Tag | Training data | Max length |
|---|---|---|
| v1 | 2,000 Rotten Tomatoes reviews | 128 |
| v2 | 2,000 Rotten Tomatoes reviews | 256 |
| v3 | 2,000 IMDb reviews | 256 |
All variants were evaluated on the same Rotten Tomatoes test split.
| Version | Accuracy |
|---|---|
| v1 | 0.7955 |
| v2 | 0.8011 |
| v3 | 0.7955 |
Promoted version: v2 (branch production).
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="Wadden/sentiment-versioning-demo",
revision="production")
The quantized ONNX export of the promoted v2 revision is executed directly in the browser: