Xenova/opus-mt-en-ROMANCE
Helsinki-NLP/opus-mt-en-ROMANCE
translation
1. Simultaneous 1→5 Romance Translator (FR · ES · IT · PT · RO)
encoder_model_quantized.onnx (52.90 MB) +
decoder_model_merged_quantized.onnx (60.21 MB) via shared
Transformers.js 3.7.5 inside a dedicated Web Worker. Prepending >>fr<<,
>>es<<, >>it<<, >>pt<<, or
>>ro<< steers the shared decoder without loading extra checkpoints.
Pick an English preset, enter custom English text, or upload a local
.txt / .md / .srt file:
Awaiting local inference
2. Target-Tag Diagnostics & SentencePiece Inspector
Every translation prepends an inline control token (>>fr<< = ID 14,
>>es<< = ID 16, >>it<< = ID 41,
>>pt<< = ID 45, >>ro<< = ID 54) from the
shared 65,001-piece SentencePiece vocabulary. Inspect the live control token ID, latency,
and fertility (pieces per word) for each target language below.
| Target | Control Tag | SP Token ID | In → Out Tokens | Target Fertility | Decode Speed | Latency |
|---|---|---|---|---|---|---|
| Run a translation above to inspect per-language diagnostics. | ||||||
Tagged prompt SentencePiece pieces will appear after translation.
3. Inside OPUS-MT EN→Romance & Source Code
Trained by the Language Technology Research Group at the University of Helsinki
(Helsinki-NLP/opus-mt-en-ROMANCE, Apache-2.0) on OPUS parallel corpora across
47 Romance languages and varieties, converted to ONNX by Xenova (Xenova/opus-mt-en-ROMANCE).