use case · wild · idioms, negations, RTL technical bidi, homographs & truncation · q8 WASM · 117.60 MB
Idioms, Negations, RTL Technical Bidi & Truncation Lab
Push Opus-MT EN→AR into real-world failure modes: English idioms,
nested negations, RTL technical bidi strings (URLs, units, ISO dates, proper
nouns), homographs, and max_new_tokens / 512-token truncation.
Every outcome below is measured live on-device — failures and literal slips are surfaced honestly.
1 · Opus-MT EN→AR worker (117.60 MB q8 WASM · Apache-2.0)
2 · Controlled Edge-Case Stress Probe
Measured Arabic RTL Output
—Prepare Opus-MT EN→AR above to run live idiom, negation, technical bidi, homograph, and truncation stress tests.
Real SentencePiece Source Subwords
Run a stress probe to inspect SentencePiece tokens.
3 · Empirical 5-Probe Stress Matrix
Click Run All 5 Stress Probes above to evaluate every edge case sequentially off the main
thread using each scenario's target budget (note Probe 5 tests max_new_tokens=48 truncation).
| Stress Scenario | Arabic RTL Output | Tokens (in→out) | Script · Trunc | Latency |
|---|---|---|---|---|
| Click "Run All 5 Stress Probes" above to populate the empirical matrix. | ||||