use case · basics · falsi amici, formal Lei→usted register & beam search ablation · q8 WASM · 112.69 MB

Inside MarianMT IT→ES: Romance False Friends, Register & Beam Search

Compare greedy num_beams=1 against Beam 2 and Beam 4 on Italian-to-Spanish zero-pivot syntax, then run live paired ablations on Romance false friends (falsi amici) (burro, salire, guardare, officina, imbarazzata), formal Lei → usted politeness register, and Italian accent fertility.

1 · Opus-MT IT→ES worker (112.69 MB q8 WASM · Apache-2.0)

2 · Side-by-Side Beam 1 vs Beam 2 vs Beam 4 Spanish Word-Diff

Curated Italian sentences (Falsi amici, Formal Lei→usted, Imbarazzata & ¿/¡ punctuation)

Prepare Opus-MT IT→ES above to compare greedy vs beam-search Spanish decoding live.

Source SentencePiece—
Beam-2 diff vs B1—
Beam-4 diff vs B1—
NaN count—

Beam 1 (Greedy)

—
Esperando comparación…

Beam 2 (2-way)

—
Esperando comparación…

Beam 4 (4-way)

—
Esperando comparación…

Shared Source SentencePiece Subwords

Run Beam comparison to inspect SentencePiece tokens.

3 · Romance False Friends, Formal Lei → usted Register & Fertility Ablation

Run controlled A/B pairs through Xenova/opus-mt-it-es to measure false-friend resolution (burro→mantequilla, salire→subir, guardare→mirar, officina→taller, imbarazzata→avergonzada), formal Lei→usted vs informal tu→tú conjugation, and Italian accent/elision SentencePiece fertility.

Select an ablation probe above to compare Arm A vs Arm B live.
—
Esperando experimento…
—
Esperando experimento…

Ready to run false-friends, register, and fertility ablations once the model loads.

Arm A tokens · fert.—
Arm B tokens · fert.—
Token delta (B − A)—
Spanish overlap—
ES diacritics (A / B)—
NaN count—

4 · Inspect Beam Comparison & Paired Ablation Code

Show the code — Off-main-thread Beam 1 vs Beam 2 vs Beam 4 pass
Show the code — Paired False Friends, Register & Fertility ablation