How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf vahpetr/MiniCPM5-1B-ru-v3:Q8_0
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "vahpetr/MiniCPM5-1B-ru-v3:Q8_0"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

MiniCPM5-1B-ru (v3, merged, experimental)

openbmb/MiniCPM5-1B with a Russian LoRA (v3) merged in, to improve practical Russian (customer-support style, everyday instructions, translation) while keeping the base's coding ability. Trained on Vikhrmodels/GrandMaster-PRO-MAX (Russian + English, chain-of-thought) plus an English replay slice, on an AMD Strix Halo iGPU (ROCm). Adapter-only version: vahpetr/MiniCPM5-1B-ru-lora-v3.

Honest evaluation (base vs this, thinking OFF, 3-run avg on local batteries)

axis base this 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 become natural Russian instead of English/Chinese-mixed; RU→EN translation more accurate).

The tradeoff: sharp reasoning and strict instruction-following drop somewhat — an inherent 1B capacity limit. For strong Russian without the tradeoff, use a Russian-native model or a larger base.

Use thinking OFF (enable_thinking=false).

Usage

Load as a normal model (transformers / vLLM). A Q8_0 GGUF (MiniCPM5-1B-ru-v3-Q8_0.gguf) is included for Ollama / LM Studio / llama.cpp.

from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained("vahpetr/MiniCPM5-1B-ru-v3", trust_remote_code=True)
tok = AutoTokenizer.from_pretrained("vahpetr/MiniCPM5-1B-ru-v3", trust_remote_code=True)

Attribution & license

  • Base: MiniCPM5-1B (OpenBMB) — Apache-2.0
  • Data: GrandMaster-PRO-MAX (Vikhr) — Apache-2.0
  • This model — Apache-2.0
Downloads last month
247
Safetensors
Model size
1B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for vahpetr/MiniCPM5-1B-ru-v3

Quantized
(86)
this model