2-Stage Shared-Vocab Audit: Cloze Fill × Top-K Sentiment Shift
Chain two models that share the exact same 119,547 cased WordPiece vocabulary offline
(318.45 MB combined WASM q8): Stage 1
(google-bert/bert-base-multilingual-cased via
Xenova/bert-base-multilingual-cased, 182.5 MB, Apache-2.0) generates
top-K [MASK] completions, then Stage 2
(Xenova/distilbert-base-multilingual-cased-sentiments-student, 135.95 MB,
Apache-2.0, reusing
../distilbert-base-multilingual-cased-sentiments-student/worker.js) audits how each
candidate fill shifts 3-class sentiment polarity (positive / neutral / negative).
Same 119,547 Cased WordPiece Vocabulary Across Both Stages: Stage 2
(distilbert-base-multilingual-cased-sentiments-student) was distilled directly from
distilbert-base-multilingual-cased, inheriting mBERT's exact 119,547-piece cased WordPiece
tokenizer so every Stage 1 cloze replacement tokenizes cleanly without vocabulary mismatch.
1. Two Independent On-Device Models (318.45 MB Combined)