use case · multi-model · OPUS-MT Romance→EN (113.11 MB) → OPUS-MT EN→Romance (113.1 MB) · ~226 MB total · Apache-2.0

Romance → EN → Romance Round-Trip Semantic-Drift & Parity Inspector

Verify Romance-to-English translation fidelity locally without a human bilingual reviewer (~226 MB combined across two isolated Web Workers): Stage 1 runs OPUS-MT Romance→EN (113.11 MB q8 WASM, Apache-2.0), then Stage 2 reuses OPUS-MT EN→Romance (../../opus-mt-en-romance/worker.js, 113.1 MB q8 WASM, Apache-2.0) with inline >>lang<< tags to back-translate into the source Romance language and measure live BLEU, chrF, word-overlap %, and numeric parity.

1 · Workflow models (~226 MB total · two isolated WASM workers)

Stage 1 · OPUS-MT Romance→EN (113.11 MB)

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

Stage 2 · OPUS-MT EN→Romance Verifier (113.1 MB)

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

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

Curated Romance round-trip presets (FR · ES · IT · PT · RO)
Drop a Romance .txt or .md file here, paste via clipboard, or upload a local file:
fr-local-ai

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

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

Stage 1 · Intermediate English (OPUS-MT Romance→EN)

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

Tokens: — · Latency: —

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

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

Tokens: — · Latency: —

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

Original Romance

—

Back-translated Romance (drift highlighted)

—
Show the code — Reusing opus-mt-en-romance/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-ROMANCE-en → Xenova/opus-mt-ROMANCE-en (113.11 MB q8 WASM, Apache-2.0). Stage 2: Helsinki-NLP/opus-mt-en-ROMANCE → Xenova/opus-mt-en-ROMANCE (113.1 MB q8 WASM, Apache-2.0).