TranslateGemma-4-26B-A4B-Pilot-LoRA
translation that preserves markup
2 min readupdated
A machine translation adapter for converting English into eight languages, including Russian, built to translate text and technical documentation without breaking formatting. Developed by Bosalt, it is structured as a LoRA (a lightweight add-on built on top of a base model using the PEFT library) over the Gemma 4 26B-A4B MoE model (Mixture-of-Experts, an architecture where only a subset of parameters is activated per token, specifically unsloth/gemma-4-26B-A4B-it). According to the model card, the adapter is designed to be router-safe (preserving the routing behavior of the MoE experts) and was trained using Belnap SIXTEEN_3 data curation and completion-only loss. It is a solid fit for developers, localization specialists, and anyone translating documentation or UI strings into Russian and other supported languages.
Key features
- Supports 8 language pairs from English:
ja,ko,id,ru,zh,de,es, andfr. - Built as a router-safe LoRA adapter on top of
unsloth/gemma-4-26B-A4B-itfor thepeftlibrary. - Trained with Belnap
SIXTEEN_3curation and completion-only loss. - Evaluated on WMT24++ segments and a technical Markdown localization benchmark.
What you can do
- Translate technical
README.mdfiles and documentation into Russian, Japanese, Korean, and Indonesian while keeping the Markdown structure intact. - Build a pipeline or bot to translate user-facing text and content between English and any of the eight supported languages.
- Benchmark its translation quality and markup retention against the base model or
google/translategemma-12b-iton your own texts.
Example
The model card highlights an evaluation on technical Markdown (README.md across 4 locales: ja, ko, id, ru), where the adapter translates documentation into Russian with an 87.10 chrF++ score and 100.0% retention of technical elements.
Read more
DetailsWMT24++ (320 segments, greedy decoding,
do_sample=False): average chrF++ of 49.82 and Unbabel/wmt22-comet-da of 0.8478; for the en-ru_RU pair, chrF++ reached 47.42 and COMET was 0.8163.Markdown benchmark (4 locales:
ja, ko, id, ru): average chrF++ of 83.08 (+8.81 over google/translategemma-12b-it), scoring 87.10 chrF++ and 100.0% Tech Fidelity on ru.VRAM requirements and detailed inference parameters are not specified on the model card.










Comments