translation · Direct Italian→Spanish Zero-Pivot MarianMT · q8 · WASM · 112.69 MB · Apache-2.0

Opus-MT Italian → Spanish

University of Helsinki's OPUS-MT IT→ES (Helsinki-NLP/opus-mt-it-es, quantized to 112.69 MB first-visit q8 ONNX in Xenova/opus-mt-it-es) is a direct zero-pivot 6+6 MarianMT encoder-decoder translating Italian prose straight into Spanish (preserving grammatical gender, formal Lei → usted register, and Romance syntax without pivoting through English) — running 100% locally in CPU WebAssembly.

Runs in browser · WASM translation 112.69 MB q8 ONNX Apache-2.0 MarianMT · 59,031 SentencePiece Zero-Pivot IT → ES

1 · On-device model (112.69 MB q8 WASM · encoder 49.84 MB + decoder 57.13 MB + tokenizer 5.71 MB)

2 · Live Direct Italian → Spanish Zero-Pivot Neural Translator

Select an Italian preset, type or paste Italian prose with accents (à, è, é, ì, ò, ù), or drop/upload a .txt, .md, .srt, or .csv file anywhere below.

Curated Italian → Spanish presets (Browser AI, Travel ¿/¡, Falsi Amici, Release Notes & Formal Lei)
Drop an Italian .txt, .md, .srt, or .csv file here, paste via Ctrl/Cmd+V, or choose a local file:
0 chars

Spanish Translation (Español)

Waiting for run
Prepara Opus-MT IT→ES arriba y pulsa Traducir para ejecutar la inferencia localmente en tu navegador.

Prepare Opus-MT IT→ES above to translate Italian text directly into Spanish in CPU WebAssembly.

Latency—
Throughput—
Src → Tgt tokens—
Source fertility—
Orthography check—
Backend · dtypeWASM · q8
NaN count—

3 · See Inside: Sentence Alignment, Romance Diacritics & MarianTokenizer Subwords

Inspect how Italian grave accents (à, è, ì, ò, ù) and elisions (l', dell') transform into Spanish acute accents (á, é, í, ó, ú, ü), ñ, and paired ¿ / ¡ punctuation across the shared 59,031-token SentencePiece vocabulary.

IT accents (àèéìòù)0
IT elisions (l' / dell')0
ES acutes (áéíóúü)0
ES ñ · ¿ / ¡ marks0 · 0
Grave leaks in ES0
Sentence-by-sentence Italian to Spanish zero-pivot translation alignment
# Italian segment Spanish translation Tokens (in→out) Latency
Run a translation above to inspect sentence-by-sentence alignment.

Real SentencePiece Source Subwords (MarianTokenizer · 59,031 vocab · ▁ boundaries)

Run a translation to inspect real MarianTokenizer SentencePiece subwords and fertility.

Waiting for first on-device run.

4 · At a Glance, Why Zero-Pivot Matters, Code & Use-Case Ladder

Upstream model Helsinki-NLP/opus-mt-it-es (Tatoeba it.es: BLEU 61.2 · chr-F 0.761)
Browser ONNX repo Xenova/opus-mt-it-es (encoder_model_quantized.onnx 49.84 MB + decoder_model_merged_quantized.onnx 57.13 MB + tokenizer.json 5.71 MB + configs = 112.69 MB q8)
Pipeline task & runtime translation · @huggingface/transformers@3.7.5 (shared pin in lib/webai.js) · CPU WASM
Architecture MarianMTModel (6 encoder + 6 decoder layers, d_model=512, 8 heads, ffn=2048, swish, max_length=512, vocab_size=59031, shared IT/ES embeddings)
Special tokens pad=<pad> (59030, also decoder_start_token_id), eos=</s> (0), unk=<unk> (1); no >>lang<< prefix required
License Apache-2.0 (University of Helsinki Language Technology Research Group)
Why zero-pivot Italian → Spanish matters: Routing Italian through English (IT→EN→ES) strips grammatical gender, collapses polite Lei vs informal tu into ambiguous English you, doubles latency, and doubles memory footprint. Direct opus-mt-it-es shares one 59,031-token Romance SentencePiece vocabulary and achieves 61.2 BLEU on Tatoeba in a single 112.69 MB offline WASM worker.
Show the code — Off-main-thread MarianMT IT→ES decoding, streaming & truncation telemetry
Show the code — Abbreviation-safe Italian sentence segmentation (Dott., Prof., Sig., ecc.)

Explore the 5-Route Opus-MT IT→ES Use-Case Ladder