CoolFace
Modelpublic

Wadden/sentiment-versioning-demo

sourceHugging Faceapache-2.0updated 20d agoView on Hugging Face
0likes43downloads
Model Card

Versioned Sentiment Classifier

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.

Versions

TagTraining dataMax length
v12,000 Rotten Tomatoes reviews128
v22,000 Rotten Tomatoes reviews256
v32,000 IMDb reviews256

Common-test comparison

All variants were evaluated on the same Rotten Tomatoes test split.

VersionAccuracy
v10.7955
v20.8011
v30.7955

Promoted version: v2 (branch production).

Usage

from transformers import pipeline classifier = pipeline("sentiment-analysis", model="Wadden/sentiment-versioning-demo", revision="production")

Interactive production demo

The quantized ONNX export of the promoted v2 revision is executed directly in the browser:

[Open the production Space](https://huggingface.co/spaces/Wadden/sentiment-versioning-space)