[MASK]
slot in a review or earnings note can rank both positive and negative candidates in its top-K fills.
Stage 2 runs off-main-thread SST-2 scoring across every substituted sentence so you can measure
exactly which candidate flips polarity and how wide its logit margin |z_pos - z_neg| is.
1. Two Independent On-Device Models (135.49 MB Combined)
Stage 1 · DistilBERT Base Cased Fill-Mask (67.20 MB WASM q8)
Xenova/distilbert-base-cased · fill-mask · Apache-2.0
Stage 2 · DistilBERT SST-2 Binary Sentiment (68.29 MB WASM q8)
Xenova/distilbert-base-uncased-finetuned-sst-2-english · text-classification · Apache-2.0
2. Top-K Candidate Substitution × Live SST-2 Polarity Audit
Initialize both stages above to run the 135.49 MB Cloze × SST-2 Sentiment Audit pipeline.
| S1 Rank | Candidate | S1 MLM Prob | Stage 2 Polarity | SST-2 Conf / Margin | Entropy (0–1 b) | Completed Sentence |
|---|---|---|---|---|---|---|
| Run Stage 1 → Stage 2 above to audit candidate sentiment flips. | ||||||