translation · MarianMT Italian→English · q8 · WASM · 128.92 MB ONNX · Apache-2.0

OPUS-MT IT→EN — Italian-to-English MarianMT Studio

University of Helsinki's 6+6 MarianMT encoder-decoder (Helsinki-NLP/opus-mt-it-en, quantized to 128.92 MB ONNX weights / 136.87 MB first visit incl. tokenizer in Xenova/opus-mt-it-en) translates Italian news, formal Lei correspondence, cinema dialogue, support tickets, and recipes into English entirely inside a local Web Worker — inspecting SentencePiece fertility, enclitic pronouns, apostrophe elisions, and length penalty on-device.

Runs in browser · WASM translation 128.92 MB q8 ONNX (136.87 MB first visit) Apache-2.0 MarianMT · 80,379 SentencePiece

1 · On-device model (128.92 MB q8 ONNX · encoder 60.77 MB + decoder 68.15 MB)

2 · Live Italian → English Translator

Pick a register preset, type or paste Italian text (Ctrl/Cmd+V anywhere on the page), or drop/upload a .txt, .md, .srt, or .csv file. Inference runs off the main thread in a dedicated module Web Worker.

Curated Italian register presets
Drop a .txt, .md, .srt, or .csv file here, paste via clipboard, or choose a file:
0 chars

English translation (Live MarianMT)

Waiting for run
Prepare OPUS-MT IT→EN above and click Translate to run real on-device MarianMT inference.

Prepare OPUS-MT IT→EN above to translate Italian locally in CPU WebAssembly.

Latency—
Throughput—
In → Out tokens—
Source fertility—
IT enclitics / elisions—
NaN count—

3 · See Inside: SentencePiece Fertility, Enclitics & Italian Elisions

Inspect how MarianMT's shared 80,379-piece SentencePiece vocabulary segments Italian enclitic verbs (mettili, dimmelo, lasciarlo), apostrophe elisions (dell', all', un'), and Italian accented vowels (à è é ì ò ù), and how each Italian sentence aligns 1:1 with its English output.

Italian enclitic, elision, and register diagnostics appear after translation.

# Italian segment English translation Tokens (in→out) Latency
Run a translation above to inspect sentence-by-sentence alignment.

Italian Source Per-Word SentencePiece Fertility (80,379 vocab)

Run a translation to inspect Italian word fertility.

Italian Source SentencePiece Token Sequence

Run a translation to inspect real MarianTokenizer SentencePiece subwords.

4 · Why It Matters & At a Glance

Private local Italian→English translation enables zero-egress legal/GDPR review, offline cinema subtitling, customer-support ticket triage, and confidential document drafting directly inside the browser without sending sensitive Italian text to third-party APIs.

Upstream model Helsinki-NLP/opus-mt-it-en
Browser ONNX repo Xenova/opus-mt-it-en (encoder_model_quantized.onnx 60.77 MB + decoder_model_merged_quantized.onnx 68.15 MB = 128.92 MB q8; 136.87 MB incl. tokenizer.json 7.94 MB + configs)
Pipeline task & runtime translation · shared @huggingface/transformers@3.7.5 via lib/webai.js · CPU wasm
Architecture MarianMTModel (6 encoder + 6 decoder layers, d_model=512, 8 attention heads, Swish FFN=2048, max_length=512, vocab_size=80379)
Special tokens pad=<pad> (80378), eos=</s> (0), unk=<unk> · decoder_start_token_id=80378 · config default num_beams=6
Upstream benchmarks Tatoeba IT→EN: 70.9 BLEU (0.808 chr-F) · newssyscomb2009: 35.3 BLEU (0.600 chr-F) · newstest2009: 34.0 BLEU (0.594 chr-F)
License Apache-2.0 (University of Helsinki)
Show the code — Off-thread MarianMT translation & TextStreamer
Show the code — Italian sentence splitter preserving abbreviations & guillemets
Show the code — Italian enclitic, elision, articulated prep & Lei/tu analyzer