use case · multi-model · OPUS-MT EN→NL (115.20 MB) → OPUS-MT NL→EN (115.20 MB) · ~230.4 MB total · Apache-2.0

EN → NL → EN Round-Trip Back-Translation Consistency & Drift Verifier

Audit English-to-Dutch localization fidelity offline across two isolated Web Workers (~230.4 MB ONNX combined): Stage 1 runs OPUS-MT EN→NL (115.20 MB q8 WASM, Apache-2.0), then Stage 2 reuses OPUS-MT NL→EN (../../opus-mt-nl-en/worker.js, 115.20 MB q8 WASM, Apache-2.0) to back-translate Dutch into English and compute live BLEU, chrF, word-overlap %, numeric parity, and lexical drift.

1 · Workflow models (~230.4 MB ONNX · two isolated WASM workers)

Stage 1 · OPUS-MT EN→NL (115.20 MB)

Helsinki-NLP/opus-mt-en-nl → Xenova/opus-mt-en-nl · q8 WASM · Apache-2.0

Stage 2 · OPUS-MT NL→EN Verifier (115.20 MB)

Reuses ../../opus-mt-nl-en/worker.js · Xenova/opus-mt-nl-en · q8 WASM · Apache-2.0

2 · Round-Trip EN → NL → EN Consistency & Drift Pipeline

Curated English round-trip presets
Drop an English .txt or .md file here, paste via clipboard, or upload a local file:
ux-action

Prepare both workers above (or either stage independently) to run local EN→NL→EN round-trip verification.

Word overlap—
Sentence BLEU—
chrF score—
NL exp · num parity—
Stage 1 / Stage 2 ms—
NaN count—

Stage 1 · Intermediate Dutch (OPUS-MT EN→NL)

Waiting for Stage 1 (OPUS-MT EN→NL) translation…

Tokens: — · Latency: —

Stage 2 · Back-Translated English (OPUS-MT NL→EN)

Waiting for Stage 2 (OPUS-MT NL→EN) back-translation…

Tokens: — · Latency: —

Round-Trip Semantic Drift Diff (Original English vs Back-Translated English)

Original English

—

Back-translated English (drift highlighted)

—
Show the code — Reusing opus-mt-nl-en/worker.js for Stage 2 back-translation
Show the code — Smoothed BLEU-4, chrF, numeric parity & word-overlap drift metrics

Stage 1: Helsinki-NLP/opus-mt-en-nl → Xenova/opus-mt-en-nl (115.20 MB q8 WASM, Apache-2.0). Stage 2: Helsinki-NLP/opus-mt-nl-en → Xenova/opus-mt-nl-en (115.20 MB q8 WASM, Apache-2.0).