use case · wild · idioms, false friends, IT/ES/EN code-switch, negation, Euro numbers & >512 truncation · q8 WASM · 112.69 MB
Idioms, False Friends, Code-Switching & >512-Token Truncation Lab
Push Opus-MT IT→ES into real Romance edge cases: Italian idioms, a dense false-friends gauntlet, regional & IT/ES/EN code-switching, nested negations & subjunctive, European numeric/currency formats, and >512-token input + tight output truncation. Every probe runs live on-device.
1 · Opus-MT IT→ES worker (112.69 MB q8 WASM · Apache-2.0)
2 · Controlled Edge-Case Stress Probe
Measured Spanish Output
—Prepare Opus-MT IT→ES above to run live idiom, false-friend, code-switch, negation, Euro numeric, and >512-token truncation probes.
Real SentencePiece Source Subwords (first 96 tokens)
Run a stress probe to inspect SentencePiece tokens.
3 · Empirical 6-Probe Stress Matrix
Click Run All 6 Stress Probes above to evaluate every edge case sequentially off the main
thread using each scenario's target budget (note Probe 6 exceeds MarianMT's 512-token encoder window AND caps
max_new_tokens=48).
| Stress Scenario | Spanish Output | Tokens (in→out) | Ortho · Trunc | Latency |
|---|---|---|---|---|
| Click "Run All 6 Stress Probes" above to populate the empirical matrix. | ||||