Beam 1 (Greedy baseline)
Latency: — · Tokens: —
use case · basics · inside 6+6 MarianMT EN→DE · q8 WASM · 106.02 MB ONNX · CC-BY-4.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, then probe
how English noun stacks, subordinating clauses, and politeness cues trigger German
compound nouns (Komposita), verb-final word order, and Sie vs du.
Each beam width runs sequentially in the same WASM worker on your English sentence using the chosen
length_penalty (0.5 favors concise compounds; 2.0 favors longer expanded clauses). Highlighted
German tokens in Beam 2 and Beam 4 mark word-order or compound changes relative to Beam 1 (Greedy).
Prepare OPUS-MT EN→DE 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.
Sie/du Word-Order Probes
Contrast paired English inputs to watch MarianMT synthesize German Komposita, push conjugated verbs
to clause-final position after weil/obwohl, split separable verb prefixes
(Satzklammer), and select formal Sie vs informal du.
Linguistic note: —
Select a minimal pair and click Run Compound & Word-Order Probe once the model is ready.
Tokens: — · Latency: —
Tokens: — · Latency: —
Model: Helsinki-NLP/opus-mt-en-de
→ Xenova/opus-mt-en-de (106.02 MB q8 ONNX,
CC-BY-4.0).