Beam 1 (Greedy baseline)
Latency: — · Tokens: —
use case · basics · inside 6+6 MarianMT IT→EN · q8 WASM · 128.92 MB ONNX · Apache-2.0
Compare Beam 1 (Greedy) vs Beam 2 vs Beam 4 speed-vs-fluency with live
length_penalty tuning on the 6+6 MarianMT encoder-decoder, inspect how
80,379-piece SentencePiece segments Italian enclitic pronouns (glielo,
dammelo) and elided articles (nell', dell'), and contrast
live Italian→English minimal pairs.
Each beam width runs sequentially in the same WASM worker on your Italian sentence using the chosen
length_penalty (0.5 favors compact outputs; 2.0 favors fuller English clauses). Highlighted
English tokens in Beam 2 and Beam 4 mark word-choice or reordering changes relative to Beam 1 (Greedy).
Prepare OPUS-MT IT→EN above to run live Beam 1 vs Beam 2 vs Beam 4 decoding.
Latency: — · Tokens: —
Latency: — · Overlap: —
Latency: — · Overlap: —
MarianTokenizer)Run Beam comparison to inspect SentencePiece source subwords.
Inspect how the 80,379-piece vocabulary tokenizes Italian double enclitics (glielo,
dammelo), articulated/elided prepositions (nell'ufficio, dell'università),
and accented forms — plus live isolated English translations.
Prepare OPUS-MT IT→EN above to tokenize and translate Italian enclitics & elisions.
| Italian word | Kind · Morphology gloss | Live SentencePiece pieces | Live English | ms |
|---|---|---|---|---|
| Click Tokenize & Translate Probes once the model is ready. | ||||
Lei/tu Minimal Pairs
Contrast paired Italian inputs to watch MarianMT unpack enclitic clusters into English prepositional phrases,
recover dropped subject pronouns, and adapt modality across subjunctive vs indicative and formal Lei vs casual tu.
Linguistic note: —
Select a minimal pair and click Run Morphology Pair Probe once the model is ready.
Tokens: — · Latency: —
Tokens: — · Latency: —
Model: Helsinki-NLP/opus-mt-it-en
→ Xenova/opus-mt-it-en (128.92 MB q8 ONNX,
Apache-2.0).