Instructions to use AtomicChat/MiniCPM5-15B-A2.5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AtomicChat/MiniCPM5-15B-A2.5B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M # Run inference directly in the terminal: llama cli -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M # Run inference directly in the terminal: llama cli -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
Use Docker
docker model run hf.co/AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use AtomicChat/MiniCPM5-15B-A2.5B with Ollama:
ollama run hf.co/AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
- Unsloth Desktop
- Pi
How to use AtomicChat/MiniCPM5-15B-A2.5B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AtomicChat/MiniCPM5-15B-A2.5B with Docker Model Runner:
docker model run hf.co/AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
- Lemonade
How to use AtomicChat/MiniCPM5-15B-A2.5B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
Run and chat with the model
lemonade run user.MiniCPM5-15B-A2.5B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use AtomicChat/MiniCPM5-15B-A2.5B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AtomicChat/MiniCPM5-15B-A2.5B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "AtomicChat/MiniCPM5-15B-A2.5B:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
MiniCPM5-15B-A2.5B GGUF
MiniCPM5 Uncensored GGUF quantizations you can find here
OpenBMBโs MiniCPM5 mixture-of-experts language model has approximately 15B total parameters and 2.5B active per token. Atomic Chat converted the weights to GGUF and evaluated the builds below.
- Run MiniCPM5 locally with llama.cpp using the download and launch commands.
- Built by the team behind Atomic Chat, the app that runs open-weight models locally and offline.
- Start with
AD-Q4_K_M(9.301 GB). For a smaller download, chooseAD-IQ3_XXS(6.192 GB). AD-Q4_K_Mmatched the BF16 GGUFโs top prediction on 93.650% of evaluated tokens and answered 233 of 256 GSM8K and ARC-Challenge questions correctly. See the measurements.
Choose a download
AD-Q4_K_M with imatrix is our default at 9.301 GB. AD-IQ3_XXS saves 3.109 GB and answered 229 of 256 math and science questions correctly. The smallest build uses mixed precision with 50.32% of parameters in IQ1. Its top-1 agreement reached 80.450% on a second set of 24 neutral windows.
| GGUF | Recipe | File size (GB) | Mean KLD โ | Top-1 agreement | Correct / 256 |
|---|---|---|---|---|---|
| AD-IQ1 mixed | imatrix | 4.844 | 0.37014 | 77.273% | โ |
| AD-IQ3_XXS | imatrix | 6.192 | 0.17485 | 84.779% | 229 |
| AD-Q4_K_M | imatrix | 9.301 | 0.03462 | 93.650% | 233 |
| Q5_K_M | imatrix | 10.679 | 0.02224 | 94.713% | 234 |
| Q6_K | standard | 12.340 | 0.01869 | 95.133% | โ |
| Q8_0 | standard | 15.972 | 0.00700 | 97.108% | โ |
File sizes use decimal GB. Allow additional memory for the KV cache, runtime buffers and the operating system. A dash indicates a build without a task score.
Benchmarks
Mean KLD measures the average divergence from the BF16 GGUF next-token distribution on the same windows. Lower is better. Top-1 agreement counts positions where the quant and its own BF16 GGUF predict the same next token across 24 neutral windows of 2,048 tokens. In a separate conversion check on 589 positions, the BF16 GGUF matched its native checkpoint at 387/589 positions (65.70%).
The task set contains 128 GSM8K and 128 ARC-Challenge questions. Greedy decoding used thinking disabled. The strict scorer checks the final numeric answer for math and the selected option for science. Truncated and unparseable answers count as failures.
Run locally
Use llama.cpp with MiniCPM5 MoE support. The benchmarks used revision e18d1b2.
hf download AtomicChat/MiniCPM5-15B-A2.5B \
MiniCPM5-15B-A2.5B-AD-Q4_K_M.gguf --local-dir ./weights
llama-server -m ./weights/MiniCPM5-15B-A2.5B-AD-Q4_K_M.gguf \
--host 127.0.0.1 --port 8080 --jinja -c 2048 --parallel 1 -ngl 99
Model license
These GGUF weights are derived from OpenBMBโs MiniCPM5-15B-A2.5B and are released under the Apache License 2.0.
- Downloads last month
- 4,110





