GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

peasantsmith/MiniCPM5-2B-GGUF overview

MiniCPM5 2B GGUF GGUF quantizations of openbmb/MiniCPM5 2B https://huggingface.co/openbmb/MiniCPM5 2B . Model Description MiniCPM5 2B is a dense ~2.5B paramete…

ggufminicpmminicpm5llamatext-generationlong-contexttool-callingon-deviceedge-aiimatrixconversationalenzhbase_model:openbmb/MiniCPM5-2Bbase_model:quantized:openbmb/MiniCPM5-2Blicense:apache-2.0endpoints_compatibleregion:us

Runs locally from ~1.45 GB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
0
Pipeline
text-generation

Repository Files & Downloads

1 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
MiniCPM5-2B-Q4_K_M.ggufGGUFQ4_K_M1.45 GBDownload

Model Details

Model IDpeasantsmith/MiniCPM5-2B-GGUF
Authorpeasantsmith
Pipelinetext-generation
Licenseapache-2.0
Base modelopenbmb/MiniCPM5-2B
Last modified2026-09-07T19:04:09.000Z

Model README

---

license: apache-2.0

language:

- en

- zh

base_model:

- openbmb/MiniCPM5-2B

base_model_quantized: openbmb/MiniCPM5-2B-GGUF

library_name: gguf

pipeline_tag: text-generation

tags:

- gguf

- minicpm

- minicpm5

- llama

- text-generation

- long-context

- tool-calling

- on-device

- edge-ai

- imatrix

- conversational

---

MiniCPM5-2B GGUF

GGUF quantizations of openbmb/MiniCPM5-2B.

Model Description

MiniCPM5-2B is a dense ~2.5B parameter Transformer from the MiniCPM5 series, built for on-device and resource-constrained deployment. LlamaForCausalLM architecture, 131K context, strong at coding, math, tool use, and agentic tasks in its class.

Architecture: LlamaForCausalLM | 42 layers | 2048 hidden | 16 attn heads | 2 KV heads | 130,560 vocab

Quantization

Converted from the official F16 GGUF master using llama.cpp b10842 (CPU-only, no imatrix).

| File | Size | Type | bpw |

|------|------|------|-----|

| MiniCPM5-2B-Q4_K.gguf | 1.56 GB | Q4_K - Medium | ~4.95 |

Q4_K (Mixed): Q4_K base with Q6_K on attention and FFN output tensors (llama.cpp's built-in Q4_K_M large-precision treatment).

Usage

Ollama

ollama run hf.co/peasantsmith/MiniCPM5-2B-GGUF:Q4_K

llama.cpp

llama-cli -m MiniCPM5-2B-Q4_K.gguf -p "Your prompt here" -ngl <layers that fit your VRAM>

Python (llama-cpp-python)

from llama_cpp import Llama
llm = Llama(model_path="MiniCPM5-2B-Q4_K.gguf", n_ctx=8192, n_gpu_layers=-1)
output = llm("Your prompt here", max_tokens=256)
print(output["choices"][0]["text"])

Composition

| Type | Count | Size |

|------|-------|------|

| Q4_K | 253 tensors | 1110 MiB |

| Q6_K | 43 tensors | 445 MiB |

| F32 | 85 tensors | <1 MiB |

Original Model

Run peasantsmith/MiniCPM5-2B-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models