translation · MarianMT English→Dutch · q8 · WASM · 115.20 MB ONNX (~61.3 MB decoder) · Apache-2.0

OPUS-MT EN→NL — English-to-Dutch MarianMT Studio

University of Helsinki's 6+6 MarianMT encoder-decoder (Helsinki-NLP/opus-mt-en-nl, quantized in Xenova/opus-mt-en-nl to 61.26 MB merged decoder + 53.94 MB encoder = 115.20 MB q8 ONNX / 121.63 MB incl. tokenizer) translates English into Dutch entirely inside a local Web Worker — inspecting SentencePiece token chips, decoder latency, ij digraphs, ë/ï tremas, compounds, and V2/separable-verb grammar on-device.

Runs in browser · WASM translation 61.26 MB decoder + 53.94 MB encoder (115.20 MB q8) Apache-2.0 MarianMT · 67,028 SentencePiece

1 · On-device model (115.20 MB q8 ONNX · 61.26 MB merged decoder + 53.94 MB encoder)

2 · Live English → Dutch Translation Studio

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

Curated English → Dutch domain presets
Drop a .txt, .md, .csv, .json, or .srt file here, paste via clipboard, or choose a file:
0 chars

Dutch translation (Live MarianMT)

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

Prepare OPUS-MT EN→NL above to translate English locally in CPU WebAssembly.

Decoder latency—
Throughput—
In → Out tokens—
Source fertility—
NL ij · ë/ï · compounds—
NaN count—

3 · See Inside: SentencePiece Chips, Dutch Orthography (ij/ë/ï) & Compounds

Inspect how MarianMT's shared 67,028-piece Unigram SentencePiece vocabulary segments English phrases, whether Dutch output preserves ij digraphs, trema vowels (ë, ï), long compounds (≥ 14 chars), V2/separable verb particles, and per-sentence decoder timing.

Dutch orthography, trema, and compound diagnostics appear after translation.

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

Dutch Output Per-Word SentencePiece Fertility (67,028 vocab)

Run a translation to inspect Dutch word fertility.

English Source SentencePiece Token Chips

Run a translation to inspect real MarianTokenizer SentencePiece subwords.

4 · Why It Matters & At a Glance

Private on-device English→Dutch translation powers AVG/GDPR-safe Benelux documentation, offline SaaS UI localization, live subtitle tracks, and zero-egress bilingual customer support tools directly inside the browser.

Upstream model Helsinki-NLP/opus-mt-en-nl
Browser ONNX repo Xenova/opus-mt-en-nl (decoder_model_merged_quantized.onnx 61.26 MB + encoder_model_quantized.onnx 53.94 MB = 115.20 MB q8 ONNX; 121.63 MB incl. tokenizer.json 6.43 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=67028)
Special tokens pad=<pad> (67027), eos=</s> (0), unk=<unk> (1) · decoder_start_token_id=67027 · config default num_beams=4
Upstream benchmark Tatoeba EN→NL: 57.1 BLEU · 0.730 chr-F (OPUS opus-2019-12-04)
License Apache-2.0 (University of Helsinki)
Show the code — Off-thread MarianMT translation & TextStreamer
Show the code — English sentence splitter preserving abbreviations & decimals
Show the code — Dutch ij digraph, trema (ë/ï), compound & u/je register analyzer