marian-mt-en-ru-high-precision
This is a specialized version of the Helsinki-NLP/opus-mt-en-ru model, fine-tuned on a deeply cleaned parallel corpus. The primary focus of this version is semantic accuracy and translation purity.
Process Description
The model was trained on a selection of 4 million sentence pairs. The key feature of the data preparation was rigorous filtering using LaBSE semantic embeddings (with a similarity threshold > 0.8). This process eliminated "noisy" pairs, loose translations, and structural mismatches commonly found in standard open datasets.
As a result, the model demonstrates a stricter, "surgical" translation style that remains as close as possible to the original in both meaning and structure.
Final Metrics
| Dataset | sacreBLEU parent | sacreBLEU new | sacreBLEU improvement | chrF parent | chrF new | chrF improvement |
|---|---|---|---|---|---|---|
| wmt13 | 23.2922 | 24.2781 | 0.9859 | 51.1315 | 51.9158 | 0.7843 |
| wmt14 | 32.6442 | 35.7987 | 3.1545 | 60.6798 | 62.7169 | 2.0370 |
| wmt15 | 27.1357 | 29.1820 | 2.0463 | 56.0468 | 57.6647 | 1.6180 |
| wmt16 | 26.2254 | 28.2540 | 2.0285 | 54.7150 | 56.0931 | 1.3781 |
| wmt17 | 29.1708 | 31.3168 | 2.1460 | 57.1879 | 59.1752 | 1.9873 |
| wmt18 | 24.8896 | 26.7591 | 1.8695 | 54.9084 | 56.3554 | 1.4470 |
| wmt19 | 27.0492 | 28.8721 | 1.8229 | 53.3325 | 54.6832 | 1.3507 |
| wmt20 | 20.0525 | 20.6307 | 0.5781 | 48.5501 | 48.6978 | 0.1476 |
| wmt21 | 22.8263 | 23.4530 | 0.6268 | 50.7857 | 51.2910 | 0.5053 |
| wmt22 | 24.4659 | 25.6567 | 1.1908 | 49.9592 | 51.9815 | 2.0223 |
| wmt23 | 24.4615 | 24.8974 | 0.4359 | 49.3586 | 50.6319 | 1.2733 |
| wmt24 | 15.8036 | 18.3734 | 2.5699 | 41.7147 | 46.5712 | 4.8565 |
Across 12 WMT test sets (WMT13–WMT24), the new model consistently outperforms the parent model.
- Average BLEU improvement: +1.6213 points
- Average chrF improvement: +1.6173 points
Recommended Generation Settings
Decoding parameters were selected on a held-out validation set by optimizing sacreBLEU and chrF. The best quality/cost trade-off is:
num_beams=5length_penalty=1.4
num_beams=6 provides only negligible metric gains and is not recommended because the additional decoding cost is not justified.
Usage
from transformers import MarianMTModel, MarianTokenizer
model_name = "KvaytG/marian-mt-en-ru-high-precision"
tokenizer = MarianTokenizer.from_pretrained(model_name)
model = MarianMTModel.from_pretrained(model_name)
# Example of precise translation
text = "Workplace harmony is crucial, emphasizing group effort rather than individual accomplishments."
inputs = tokenizer(text, return_tensors="pt", padding=True)
output = model.generate(
**inputs,
num_beams=5,
length_penalty=1.4
)
print(tokenizer.decode(output[0], skip_special_tokens=True))
License
This model is released under the Apache License 2.0.
Citation
@misc{kvaytg_marian_mt_en_ru_high_precision,
author = {KvaytG},
title = {High-precision English-Russian MarianMT model},
year = {2026},
publisher = {Hugging Face},
journal = {Hugging Face Models},
url = {https://huggingface.co/KvaytG/marian-mt-en-ru-high-precision},
note = {Fine-tuned on 4 million LaBSE-filtered (>0.8) sentence pairs from the en-ru-parallel-20m corpus. Base model: Helsinki-NLP/opus-mt-en-ru.}
}