Results (143 unseen pairs, 108 containing protected elements)
Table with columns: formatting preserved, chrF | formatting preserved | chrF |
|---|
| base bf16 | 94.4 % | 63.5 |
| + this LoRA | 97.2 % | 70.6 |
"Formatting preserved" = every protected span (tags, links, mentions, emojis, inline/fenced code) is identical in the output, markdown markers and line breaks counts match.
Usage
Use the official Hy-MT2 prompt, no system prompt: Translate the following text into French. Note that you should only output the translated result without any additional explanation:\n\n{text} (Chinese prompt for zh).
Training data & limits
~2.9k synthetic pairs generated by an LLM (Claude Haiku) and automatically validated (identical protected spans between source and translation), 14 languages, heavily skewed towards English and French. No real user messages. Translations are not human-reviewed; small test set; keep a formatting check (tag masking) in your application.