Downloads · 30 days
17
18% of all-time downloads
vahpetr/MiniCPM5-1B-ru-lora-v3
MiniCPM5-1B-ru-lora-v3 is a machine learning model from vahpetr. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
A LoRA adapter (rank 32) for openbmb/MiniCPM5-1B, aimed at improving practical Russian (customer-support style, everyday instructions, translation) while keeping the base's coding ability. Trained on Vikhrmodels/Grand…
Downloads · 30 days
17
18% of all-time downloads
All-time downloads
95
Public
Repo size
179 MB
Likes
0
Public
Click a slice to open those files.
.safetensors89.7 MB · 47%
From the Hugging Face model README
A LoRA adapter (rank 32) for openbmb/MiniCPM5-1B, aimed at improving practical Russian (customer-support style, everyday instructions, translation) while keeping the base's coding ability. Trained on Vikhrmodels/GrandMaster-PRO-MAX (Russian + English, with chain-of-thought) plus an English replay slice, on an AMD Strix Halo iGPU (ROCm).
| axis | base | +LoRA | note |
|---|---|---|---|
| Reasoning (/18) | ~16 | ~12 | ↓ tradeoff |
| IFEval (/10) | ~8 | ~5 | ↓ tradeoff |
| Code (/7) | 7 | 7 | preserved |
| Agentic tool-use (/10) | ~6 | ~5 | ≈ preserved |
| General / Ortho (/23) | ~12 | ~13 | ↑ (customer-service, translation) |
| Russian math battery | low | low | unchanged (1B math-capped) |
What it does well: practical Russian gets noticeably more fluent and coherent — customer-support replies stop mixing English/Chinese and become natural Russian; RU→EN translation is more accurate.
The tradeoff: sharp reasoning and strict instruction-following drop somewhat — an inherent capacity limit of a 1B model (you can't add a language without spending some of its other skills). For strong Russian without the tradeoff, consider a Russian-native model or a larger base.
Use thinking OFF (enable_thinking=false) — the adapter was trained for the non-thinking format.
Transformers (PEFT):
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("openbmb/MiniCPM5-1B", trust_remote_code=True)
model = PeftModel.from_pretrained(base, "vahpetr/MiniCPM5-1B-ru-lora-v3")
tok = AutoTokenizer.from_pretrained("openbmb/MiniCPM5-1B", trust_remote_code=True)
llama.cpp (GGUF adapter MiniCPM5-1B-ru-lora-v3.gguf is included):
llama-server -m MiniCPM5-1B-Q8_0.gguf --lora MiniCPM5-1B-ru-lora-v3.gguf --jinja
(A merged, ready-to-run version is at vahpetr/MiniCPM5-1B-ru-v3.)