Beam 1 (Greedy baseline)
Latency: — · Tokens: —
use case · basics · inside 6+6 MarianMT FR→ES · q8 WASM · 130.79 MB · Apache-2.0
vous/tu), Gender, Faux Amis & Beam Search
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
74,822-piece SentencePiece segments Romance cognates, false friends
(embarrassé, constipé, subir, attendre), and French diacritics
(œ ç ù), and contrast live vous→usted vs tu→tú
and grammatical gender ablations.
Each beam width runs sequentially in the same WASM worker on your French sentence using the chosen
length_penalty (0.5 favors concise Spanish clauses; 2.0 favors fuller phrasing). Highlighted
Spanish tokens in Beam 2 and Beam 4 mark word-choice, register, or punctuation changes relative to Beam 1 (Greedy).
Prepare OPUS-MT FR→ES 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 74,822-piece FR/ES vocabulary segments classic Romance false friends
(embarrassé, constipé, subir, attendre), ligatures
(cœur, chef-d'œuvre), cedillas (français, garçon),
and grave ù (où) — alongside live isolated Spanish translations.
Prepare OPUS-MT FR→ES above to tokenize and translate French faux amis & diacritic probes.
| French word | Kind · Romance gloss | Live SentencePiece pieces | Live Spanish | ms |
|---|---|---|---|---|
| Click Tokenize & Translate Probes once the model is ready. | ||||
vous/tu Register, Grammatical Gender & ¿ / ¡ Minimal Pairs
Contrast paired French inputs side-by-side to observe direct zero-pivot Romance behavior:
formal vous→usted vs informal tu→tú,
feminine vs masculine adjective agreement, false friends vs true cognates, and inverted Spanish punctuation.
Linguistic note: —
Select a minimal pair and click Run Register & Gender Pair once the model is ready.
Tokens: — · Latency: —
Tokens: — · Latency: —
Model: Helsinki-NLP/opus-mt-fr-es
→ Xenova/opus-mt-fr-es (130.79 MB q8 WASM,
Apache-2.0).