Downloads · 30 days
23
17% of all-time downloads
HarmenWessels/MiniCPM5-1B-int4-g128-ov
MiniCPM5-1B-int4-g128-ov is a text generation model from HarmenWessels. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
OpenVINO IR conversion of openbmb/MiniCPM5-1B (1B-class llama-architecture model, 128k context, Apache-2.0). To our knowledge the first OpenVINO IR of MiniCPM5. Two deliberate artifact-level choices — read before using:
Downloads · 30 days
23
17% of all-time downloads
All-time downloads
138
Public
Repo size
762 MB
Likes
0
Public
Click a slice to open those files.
.bin762 MB · 98%
From the Hugging Face model README
OpenVINO IR conversion of openbmb/MiniCPM5-1B (1B-class llama-architecture model, 128k context, Apache-2.0). To our knowledge the first OpenVINO IR of MiniCPM5. Two deliberate artifact-level choices — read before using:
optimum-cli export openvino -m openbmb/MiniCPM5-1B \
--task text-generation-with-past --weight-format int4 --trust-remote-code \
MiniCPM5-1B-int4-g128-ov
This build uses int4 group-128 rather than channel-wise: a channel-wise build is unstable at the 1B scale (repetition loops), while group-128 and int8 stay coherent.
MiniCPM5 is a hybrid-reasoning model. Its upstream chat template leaves thinking enabled
unless enable_thinking=False is passed — a kwarg OpenVINO GenAI cannot pass. GenAI also
reads the template from openvino_tokenizer.xml rt_info, not from chat_template.jinja.
This repo ships the rt_info template patched to always emit the no-think prefix
(<think>\n\n</think>\n\n after the assistant header) — matching the model card's recommended
non-thinking usage.
Both modes remain available. Options:
"reasoning_effort": "high" or "enable_thinking": true in the request body; the
reasoning streams back separately as reasoning_content).pipe.get_tokenizer().set_chat_template(...) — replace the <think>\n\n</think>\n\n
prefix with <think>\n for thinking mode (verified to propagate to subsequent generates).add_generation_prompt block of the rt_info
chat_template in openvino_tokenizer.xml.Serving and tooling: core-ultra-llm-server.
import openvino_genai as ov_genai
pipe = ov_genai.LLMPipeline("MiniCPM5-1B-int4-g128-ov", "GPU", CACHE_DIR="./.ovcache")
print(pipe.generate("Rewrite with type hints:\n```python\ndef add(a, b):\n return a + b\n```",
max_new_tokens=128))
openbmb/MiniCPM5-1B (OpenBMB, Apache-2.0, released 2026-05)This model is measured in core-ultra-llm-server — per-task pass/fail (code generation, editing, agentic tool use, analysis, autocomplete) on an Intel Core Ultra 155H iGPU, re-run whenever the engine or server changes. The leaderboard there is authoritative; this card carries no numbers so it cannot go stale. Its benchmark card (decoding, think budget) is cards/HarmenWessels__MiniCPM5-1B-int4-g128-ov.yaml.