14 6 days ago

A 2B model with advanced reasoning. Made by OpenBMB on Hugging Face under Apache 2.0.

ollama run treyleo16/minicpm5

Details

6 days ago

8a63b0872098 · 1.6GB ·

llama
·
2.52B
·
Q4_K_M
Apache License 2.0 Upstream model: openbmb/MiniCPM5-2B-GGUF (https://huggingface.co/openbmb/MiniCPM5

Readme

MiniCPM5-2B

A dense 2B transformer from OpenBMB, built for on-device and local deployment. Repacked GGUF for Ollama.

ollama run treyleo16/minicpm5

Why this one

2B-class open-source SOTA. In OpenBMB’s own evals it averages 53.9, which beats every 4B-class model they benchmarked against (top score there was 51.1 — Qwen3.5-4B). Strongest in code reasoning, math, long-context, tool use, and agentic tasks.

Good fit for local coding agents, tool-calling workflows, and anything where you’d rather not hit a remote API.

Specs

Params 2,516,756,480 (1.98B non-embedding)
Layers 42
Attention GQA — 16 Q heads, 2 KV heads
Context 131,072
Architecture LlamaForCausalLM
Languages English, Chinese
Quant
Size

Recommended params

PARAMETER temperature 0.7
PARAMETER top_p 0.95
PARAMETER stop "<|im_end|>"
PARAMETER stop "</s>"

Long context

Before ollama serve, if you’re pushing the context window:

export OLLAMA_FLASH_ATTENTION=1
export OLLAMA_KV_CACHE_TYPE=q8_0

Source

Weights: openbmb/MiniCPM5-2B-GGUF License: Apache-2.0 · Repacked by treyleo16