Problem
An analyst in the MTS Digital RnD center adapts open-source LLMs (for tasks like RAG or insight generation) with two shared GPUs, while the business wants an acceptable result fast. To test many hypotheses, the team taught models Russian. Public benchmarks (MMLU, Russian SuperGLUE (RSG), MERA) check facts but miss grammar errors: one model with poor grammar scored best on RSG. Manual side-by-side (SBS) comparison is accurate but slow, and adding datasets made the model worse.
Example from the article: with spellcheck, wikiomnia and gsm8k added, the model stopped fixing grammar in a rewrite task that the base model handled correctly.
Solution in brief
Compare every training iteration with an LLM judge (GPT-4o) against a fixed reference model, so each hypothesis gets a per-task score without manual work. Pick a small mix of Russian-language datasets by this score. Replace plain LoRA with LoRA plus prefix tuning, which removed the "more data, worse quality" drop, then add DPO and a tuned system prompt.
Questions this case answers
- How to raise the answer quality of a small open-source LLM fine-tuned in a non-English language when compute is limited and adding more training data makes quality worse
- How to compare successive fine-tuning iterations of a model without a labeled test set and without manual side-by-side annotation
- How to compare fine-tuning iterations of an open-source LLM cheaply, without manual side-by-side annotation
- How to fix a fine-tune where adding more training data makes answer quality drop
Tools and methods
- LLM-as-a-judge (GPT-4o) — scores a candidate and a reference answer on a 1–10 scale
- LoRA with prefix tuning — parameter-efficient fine-tuning that stayed stable as data grew
- DPO — preference tuning on good/bad answer pairs, no reward model
- Hugging Face datasets, Saiga — ready-made instruct data
- LLM-generated data — synthetic question-answer pairs from own texts
Google or a one-time email code. No password.