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.
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.
.txt, .md, .srt, or .csv file here, paste via clipboard, or choose a file:
English translation (Live MarianMT)
Waiting for runPrepare OPUS-MT IT→EN above to translate Italian locally in CPU WebAssembly.
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
Live Beam 1 vs 2 vs 4 + length_penalty benchmark, SentencePiece enclitic/article breakdown, and IT→EN minimal pairs.
Practical · Multi-File .SRT, CSV & Glossary BatchTranslate Italian subtitles, ragged CSVs, and docs with IT→EN glossary coverage, mid-batch Cancel, and CSV/TMX/MD/SRT exports.
Wild · Falsi Amici, Pro-Drop & Clitics Stress Lab8-term False Friends trap grader + 6 live stress probes: pro-drop, subjunctive/Lei, glielo/dammelo, idioms, and Euro parity.
Multi-Model · IT→EN → Zero-Shot Topic & Tone NLI AuditChain OPUS-MT IT→EN (128.92 MB) into DeBERTa-v3 Zero-Shot NLI (87.25 MB) to audit ticket topic & register preservation.