Instructions to use maternion/MiniCPM-V4.7-1B-Heretic-GGUF 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 maternion/MiniCPM-V4.7-1B-Heretic-GGUF 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 maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
Use Docker
docker model run hf.co/maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use maternion/MiniCPM-V4.7-1B-Heretic-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "maternion/MiniCPM-V4.7-1B-Heretic-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maternion/MiniCPM-V4.7-1B-Heretic-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
- Ollama
How to use maternion/MiniCPM-V4.7-1B-Heretic-GGUF with Ollama:
ollama run hf.co/maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use maternion/MiniCPM-V4.7-1B-Heretic-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF: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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use maternion/MiniCPM-V4.7-1B-Heretic-GGUF with Docker Model Runner:
docker model run hf.co/maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
- Lemonade
How to use maternion/MiniCPM-V4.7-1B-Heretic-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MiniCPM-V4.7-1B-Heretic-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use maternion/MiniCPM-V4.7-1B-Heretic-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF: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:8080/v1 hermes config set model.default maternion/MiniCPM-V4.7-1B-Heretic-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use maternion/MiniCPM-V4.7-1B-Heretic-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf maternion/MiniCPM-V4.7-1B-Heretic-GGUF: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:8080/v1 \ --custom-model-id "maternion/MiniCPM-V4.7-1B-Heretic-GGUF: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"
MiniCPM-V 4.7 1B Heretic GGUF
GGUF quantizations of an abliterated MiniCPM-V 4.7 1B. Refusal directions were identified and surgically removed from the model weights using heretic's direction-ablation pipeline, reducing refusal behavior while keeping the base model's capabilities intact. Ready to run with llama.cpp, Ollama, LM Studio, and any other GGUF-compatible runtime.
Works with the base model's vision projector (mmproj), so image input is fully supported.
Heretic Details
| Property | Value |
|---|---|
| Base model | openbmb/MiniCPM-V-4.7-1B |
| Method | Direction ablation (heretic) |
| Refusal prompts | LLM-LAT/harmful-dataset |
| Good prompts | mlabonne/harmless_alpaca |
| Trials | 404 (TPE, 60 random startup) |
| Refusals | 21/100 |
| KL divergence | 0.0122 |
The low KL divergence (0.0122) indicates the abliterated model stays numerically close to the base, preserving reasoning, tool-calling, and vision capabilities while reducing refusals.
Note: No model is fully "uncensored." A small residual refusal rate remains on the most deeply-trained refusal categories — this is expected and preferable to the capability loss incurred by more aggressive ablation.
Available Files
| File | Quant | Size |
|---|---|---|
MiniCPM-V-4.7-1B-Heretic.Q4_K_M.gguf |
Q4_K_M | 641 MB |
MiniCPM-V-4.7-1B-Heretic.Q6_K.gguf |
Q6_K | 800 MB |
MiniCPM-V-4.7-1B-Heretic.Q8_0.gguf |
Q8_0 | 1.1 GB |
MiniCPM-V-4.7-1B-Heretic.F16.gguf |
F16 | 1.9 GB |
mmproj-F16.gguf |
vision projector | 1.1 GB |
Usage
llama.cpp
llama-server -m MiniCPM-V-4.7-1B-Heretic.Q8_0.gguf \
--mmproj mmproj-F16.gguf \
-c 32768 -ngl 99 --jinja --host 127.0.0.1 --port 8080
Ollama
The same quants are also published on the Ollama registry:
ollama run maternion/minicpm-v4.7-heretic:1b
| Tag | Precision |
|---|---|
1b |
Q4_K_M |
1b-q4_K_M |
Q4_K_M |
1b-q6_K |
Q6_K |
1b-q8_0 |
Q8_0 |
1b-f16 |
F16 |
MiniCPM-V 4.7
GitHub · Evaluation · Examples
MiniCPM-V 4.7 is the latest model in the MiniCPM-V series, available in a 1B variant. It builds on the family's single-image, multi-image, and video understanding capabilities, combining stronger foundation capabilities with efficient visual encoding and on-device inference. Notable features of MiniCPM-V 4.7 include:
- 🔥 A New Pareto Frontier in Performance and Efficiency. The 1B variant of MiniCPM-V 4.7 advances the performance–efficiency Pareto frontier for MLLMs. In Instruct mode, the 1B variant continues to improve foundation capabilities over MiniCPM-V 4.6 and substantially outperforms Qwen3.5 0.8B in both overall score and inference efficiency.
- 🚀 Efficient Architecture. Based on the intra-ViT early compression technique from LLaVA-UHD v4, MiniCPM-V 4.7 compresses visual tokens early within the vision encoder, reducing computation in subsequent encoder layers. It also supports mixed 4x/16x visual token compression.
- 💻 Broad Platform and Chip Support. MiniCPM-V 4.7 supports iOS, Android, and HarmonyOS, together with open-source on-device deployment support, and day-0 support for Rockchip, Houmo, Intel, AMD, and Arm chips.
Evaluation
Significantly Advancing the Performance–Efficiency Pareto Frontier
The 1B variant of MiniCPM-V 4.7 advances the performance–efficiency Pareto frontier. In Instruct mode, 1B substantially outperforms Qwen3.5 0.8B in both overall score and inference efficiency.
Overall Performance (1B, Instruct)
Examples
MiniCPM-V 4.7 can run on phones and tablets. The clip below is an unedited screen recording captured directly on the device.
| 1B iPhone 17 Pro Max |
![]() |
Acknowledgements
We would like to thank the following projects:
- Qwen3.5 and Qwen3.6 for providing the language backbone
- SigLIP2 for providing the vision understanding module
- Transformers
- Downloads last month
- -
4-bit
6-bit
8-bit
16-bit
Model tree for maternion/MiniCPM-V4.7-1B-Heretic-GGUF
Base model
openbmb/MiniCPM-V-4.7-1B

