Xenova/opus-mt-de-en
Helsinki-NLP/opus-mt-de-en
translation
1. Live German → English Neural Translator
encoder_model_quantized.onnx
(49.37 MB) + decoder_model_merged_quantized.onnx (56.65 MB) via shared
Transformers.js 3.7.5 inside a dedicated Web Worker. No German text or uploaded file leaves
your browser.
Pick a curated German register preset, type your own German text, or upload a local
.txt / .srt / .md document:
German Input
English Translation (Live MarianMT)
2. Sentence-by-Sentence Alignment
When Sentence alignment is enabled, German paragraphs are split cleanly
(preserving abbreviations like Dr. and German ordinal dates) and each sentence is
translated with per-sentence token counts and measured latency.
| # | German Source Sentence | English Translation | Tokens (In → Out) | Latency |
|---|---|---|---|---|
| Run a translation above to inspect sentence alignment. | ||||
3. Live SentencePiece Subword Breakdown
Opus-MT uses a shared 58,101-piece SentencePiece model. Word starts carry the leading
▁ marker; long German compounds break into reusable continuation subwords
(+) so unseen compound words never become <unk>.
Fertility ratio (pieces per German word) will appear after translation.
4. Inside MarianMT DE→EN & Source Code
Trained by the Language Technology Research Group at the University of Helsinki
(Helsinki-NLP/opus-mt-de-en, Apache-2.0) on OPUS German–English parallel corpora
and converted to quantized ONNX by Xenova (Xenova/opus-mt-de-en).