Beam 1 (Greedy baseline)
Latency: — · Tokens: —
use case · basics · inside MarianMT Big TR→EN (d_model 1024) · q8 WASM · 538.56 MB first visit · 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 d_model=1024 encoder-decoder,
inspect how 57,060-piece SentencePiece splits Turkish agglutinative chains
(-lAr, -dA, -dAn, -lArImIz) and diacritics
(ç ğ ı İ ö ş ü vs ASCII-folded igdir/cicek), and contrast
live Turkish→English morphology pairs.
Each beam width runs sequentially in the same WASM worker on your Turkish 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 SOV reordering changes relative to Beam 1 (Greedy).
Prepare OPUS-MT TR→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 57,060-piece SentencePiece vocabulary tokenizes Turkish suffix chains
(evlerimizden, odalarımızda, görüştürebileceklerimizden) and
contrasts proper Turkish diacritics (çiçekçiler, Iğdır'da) against ASCII-folded spellings
(cicekciler, Igdir'da).
Prepare OPUS-MT TR→EN above to tokenize and translate Turkish suffixes & diacritics.
| Turkish word | Kind · Morphology gloss | Live SentencePiece pieces | Live English | ms |
|---|---|---|---|---|
| Click Tokenize & Translate Probes once the model is ready. | ||||
Siz/sen Pairs
Contrast paired Turkish inputs to watch MarianMT unpack suffix chains into English prepositional phrases,
handle front vs back vowel harmony, recover ASCII-folded diacritics, and adapt formal Siz vs casual sen.
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-tc-big-tr-en
→ onnx-community/opus-mt-tc-big-tr-en (531.45 MB q8 ONNX / 538.56 MB first visit,
CC-BY-4.0).