multi-model · Opus-MT EN→ES (113.11 MB q8 · Apache-2.0) → Multilingual MiniLM-L12-v2 (118 MB q8 · Apache-2.0)
EN→ES Translation + Cross-Lingual Semantic Fidelity Auditor
Stage 1 (Xenova/opus-mt-en-es, 113.11 MB WASM q8,
Apache-2.0) translates English into Spanish. Stage 2
(Xenova/paraphrase-multilingual-MiniLM-L12-v2, 118 MB WASM q8,
Apache-2.0, reusing shared ../../opus-mt-en-romance/embed-worker.js)
embeds both the English source and the Spanish output into one shared 384-d cross-lingual vector space
to compute live cos(EN, ES) fidelity and a Pass/Review verdict (~231.1 MB combined, 100% offline).
1 · Two Independent On-Device Models (~231.1 MB Combined)
Stage 1 · Opus-MT EN→ES (113.11 MB WASM q8)
Xenova/opus-mt-en-es · translation · Apache-2.0
Stage 2 · Multilingual MiniLM-L12-v2 (118 MB WASM q8)
Xenova/paraphrase-multilingual-MiniLM-L12-v2 · feature-extraction · 384-d · Apache-2.0
2 · Translate English → Spanish & Audit Cross-Lingual Fidelity
3 · Cross-Lingual Handoff & Calibration Results
Stage 1 · Spanish Translation
WaitingStage 2 · Cross-Lingual Fidelity Meter
WaitingCosine threshold calibration: ≥ 0.80 Pass (meaning preserved) · 0.65–0.799 Review (moderate drift) · < 0.65 Review (semantic/idiomatic drift).
| Preset / Run | English Source | Spanish Output | cos(EN, ES) | Verdict | S1 / S2 ms |
|---|---|---|---|---|---|
| Initialise both models above and run the pipeline to audit EN→ES semantic fidelity. | |||||