Empirical WordPiece Boundaries: Unlike byte-fallback tokenizers, mBERT Uncased's
105,879 WordPiece table maps unseen emojis/symbols to
[UNK] (ID 100)
while folding uppercase and NFD diacritics to shared lowercase subwords.
1. Live 9-Case WordPiece Stress Suite (4 Edge Categories)
Probes completed–
Mean top-1 prob–
Mean vocab entropy–
Total [UNK] / Masks–
NaN score check–
Total latency–
2. Gender / Occupation Bias Log-Odds Comparator
Measure live log-odds skew log2((P(tok|A)+ε) / (P(tok|B)+ε)) across identical
professional frames (e.g., He vs She at the city hospital).
Frame A #1–
Frame B #1–
Max |log2-odds|–
Top skewed token–
| Candidate | P(tok | A) | P(tok | B) | log2-Odds (A / B) | Frame Lean |
|---|---|---|---|---|
| Run the comparator above to inspect token log-odds skew. | ||||
3. Perturbation Sandbox (Diacritics, Case-Folding & Emoji [UNK])
Baseline (–)
Run comparison above to inspect baseline predictions.
Perturbed (Δ –)
Run comparison above to inspect perturbed drift.