283 Downloads Updated 1 week ago
ollama run tobestyledintro/minicpm5-2b:32k
Updated 1 week ago
1 week ago
846a2f99d53e · 1.6GB
Compact 2.5B model by OpenBMB — 2B-class open-source SOTA, built for on-device, local assistants, coding agents and tool-use workflows.
Base: openbmb/MiniCPM5-2B-GGUF (Q4_K_M, 1.56 GB) — Apache-2.0.
Same weights, different context sizes. Bigger context = more VRAM for the KV cache.
| Tag | Context | VRAM needed | Best for |
|---|---|---|---|
| :8k | 8,192 | ~2.5 GB | Laptops, iGPU, running cat |
| :32k | 32,768 | ~3.5 GB | Default balanced, light RAG |
| :64k | 65,536 | ~5 GB | Long documents, big RAG |
| :128k | 131,072 | ~8 GB | Max native context, codebases |
| :latest | 32,768 | ~3.5 GB | = :32k |
VRAM = 1.56 GB weights + KV cache F16 + marge Ollama. Rule of thumb: ~43 KB per token of context in F16.
Pull examples:
ollama pull tobestyledintro/minicpm5-2b:8k
ollama pull tobestyledintro/minicpm5-2b:128k
Tip: halve the KV cache with quantized cache before ollama serve:
OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 ollama serve
With q8_0 cache, :128k fits in ~5 GB and :64k in ~3.5 GB.
All tags use OpenBMB recommended defaults (think mode):
MiniCPM5 is a deep-thinking model. With temperature=1.0 it thinks before answering. For more direct answers, lower temperature at request time, e.g. ollama run tobestyledintro/minicpm5-2b:8k –temperature 0.7.
Apache-2.0