use case · wild · unk_id=2 leakage, script-switching & 64K capacity lab · q8 WASM · 118.35 MB · Apache-2.0

Multilingual Edge Cases: unk_id=2 Leakage, Script-Switch & Capacity Lab

Probe the real engineering boundaries of Xenova/opus-mt-mul-en across 6 live experiments: OOV unk_id=2 (".") leakage when rare Hangul syllables miss the 64,172 shared vocab, multi-script code-switching (Latin + Cyrillic + Han), repetition loops, stray >>deu<< tag perturbation, numeric parity, and 64K shared-entity drift.

1 · OPUS-MT Multilingual→EN worker (118.35 MB q8 · auto-inits from cache)

2 · 6 Live Multi-Script Stress Probes & unk_id=2 Token Inspector

Select any probe or sweep all 6 sequentially off the main thread. Probes expose real SentencePiece unk_id=2 (".") fallbacks (highlighted in red), numeric parity, and character expansion.

6 live Multilingual→EN stress probes

Probe hypothesis: —

Prepare OPUS-MT Multilingual→EN above to run live multi-script stress probes.

Detected script—
OOV unk#2 ('.')—
Numeric parity—
Char delta %—
Latency—
NaN count—

Multilingual Stress Input

Source: —

Live English Output

—

Tokens: — · Latency: —

SentencePiece Subwords (Red Chips = unk_id=2 "." OOV Fallback)

Run a stress probe to inspect subword tokenization and OOV fallbacks.

Show the code — Detecting unk_id=2 ('.') OOV fallbacks in SentencePiece pieces

Model: Helsinki-NLP/opus-mt-mul-en → Xenova/opus-mt-mul-en (118.35 MB q8 first visit, Apache-2.0).