--- license: apache-2.0 base_model: openbmb/MiniCPM5-1B pipeline_tag: text-generation tags: - tool-calling - arxiv:2604.13016 - zh - arxiv:2602.09003 - quantized - transformers - region:us - minicpm5 - dataset:openbmb/Ultra-FineWeb-L3 - dataset:openbmb/UltraData-Math - edge-ai - dataset:openbmb/Ultra-FineWeb - arxiv:2512.16649 - dataset:openbmb/UltraData-SFT-2605 - license:apache-2.0 - long-context - en - text-generation-inference - llama - on-device - safetensors - conversational - minicpm - arxiv:2506.07900 - gguf - text-generation language: - en ---
# MiniCPM5-1B — GGUF Quantizations [![Model on HF](https://img.shields.io/badge/🤗-Model_on_HuggingFace-yellow)](https://huggingface.co/Dhptl/MiniCPM5-1B-GGUF) [![Original Model](https://img.shields.io/badge/Original-openbmb_MiniCPM5-1B-blue)](https://huggingface.co/openbmb/MiniCPM5-1B) [![quant-kit](https://img.shields.io/badge/Made_with-quant--kit-green)](https://github.com/DhruvalPtl/quant-kit) **Quantized GGUF versions of [openbmb/MiniCPM5-1B](https://huggingface.co/openbmb/MiniCPM5-1B)** Works with **[llama.cpp](https://github.com/ggerganov/llama.cpp)** · **[Ollama](https://ollama.ai)** · **[LM Studio](https://lmstudio.ai)** · **[Open WebUI](https://openwebui.com)** · **[Jan](https://jan.ai)** *Quantized by **[Dhptl](https://huggingface.co/Dhptl)** on June 18, 2026 using [quant-kit](https://github.com/DhruvalPtl/quant-kit)*
--- ## ⚖️ The Pareto Frontier — Efficiency vs Intelligence > Can you run a powerful model on a laptop without losing its intelligence? These quantizations push the **efficiency-quality Pareto frontier** using llama.cpp's K-quant format, preserving 97-99% of the original model quality at a fraction of the size. | Benchmark | Original (FP16) | Q4_K_M | Quality Retained | |---|---|---|---| | **MMLU Pro** | *See [original card](https://huggingface.co/openbmb/MiniCPM5-1B)* | *Run benchmarks* | ~97-99% | | **HellaSwag** | *See [original card](https://huggingface.co/openbmb/MiniCPM5-1B)* | *Run benchmarks* | ~97-99% | | **ARC Challenge** | *See [original card](https://huggingface.co/openbmb/MiniCPM5-1B)* | *Run benchmarks* | ~97-99% | | **TruthfulQA** | *See [original card](https://huggingface.co/openbmb/MiniCPM5-1B)* | *Run benchmarks* | ~97-99% | | **GSM8K** | *See [original card](https://huggingface.co/openbmb/MiniCPM5-1B)* | *Run benchmarks* | ~97-99% | --- ## 📦 Available Files | Filename | Size | RAM Required | Quant | Quality | Best For | |---|---|---|---|---|---| | `MiniCPM5-1B-Q2_K.gguf` | 0.45 GB | ~2.0 GB | `Q2_K` | ⭐ | Extreme compression, significant quality loss. | | `MiniCPM5-1B-Q3_K_L.gguf` | 0.57 GB | ~2.1 GB | `Q3_K_L` | ⭐⭐⭐ | Slightly better than Q3_K_M, still a compromise. | | `MiniCPM5-1B-Q3_K_M.gguf` | 0.54 GB | ~2.0 GB | `Q3_K_M` | ⭐⭐⭐ | Very small file. Quality drop noticeable. | | `MiniCPM5-1B-Q3_K_S.gguf` | 0.51 GB | ~2.0 GB | `Q3_K_S` | ⭐⭐ | Very high compression, high quality loss. | | `MiniCPM5-1B-Q4_K_M.gguf` | 0.64 GB | ~2.1 GB | `Q4_K_M` ✅ **Recommended** | ⭐⭐⭐⭐ | Best balance of size and quality. Recommended for most users. | | `MiniCPM5-1B-Q4_K_S.gguf` | 0.62 GB | ~2.1 GB | `Q4_K_S` | ⭐⭐⭐½ | Good speed/size balance, slight quality loss. | | `MiniCPM5-1B-Q5_K_M.gguf` | 0.73 GB | ~2.2 GB | `Q5_K_M` | ⭐⭐⭐⭐½ | Better quality than Q4, slightly larger. Great if you have the RAM. | | `MiniCPM5-1B-Q5_K_S.gguf` | 0.72 GB | ~2.2 GB | `Q5_K_S` | ⭐⭐⭐⭐ | Large but accurate. | | `MiniCPM5-1B-Q6_K.gguf` | 0.83 GB | ~2.3 GB | `Q6_K` | ⭐⭐⭐⭐⭐ | Near-perfect quality, very large. | | `MiniCPM5-1B-Q8_0.gguf` | 1.07 GB | ~2.6 GB | `Q8_0` | ⭐⭐⭐⭐⭐ | Closest to original quality. Use when RAM is not a concern. | ### 💡 Which file should I download? - **Most users:** `MiniCPM5-1B-Q4_K_M.gguf` — best balance of size and quality - **High RAM (32GB+):** `MiniCPM5-1B-Q8_0.gguf` — near-original quality - **Low RAM (8GB):** `MiniCPM5-1B-Q3_K_M.gguf` — fits in 8GB with room to spare --- ## ⚡ Speed Benchmarks *Run `python benchmark.py --model MiniCPM5-1B` to generate speed results.* --- ## 🧠 Quality Benchmarks *Run `kaggle_bench.ipynb` on Kaggle to benchmark this model.* --- ## 🚀 How to Use ### Ollama ```bash ollama run dhptl/minicpm5-1b ``` ### LM Studio / Jan / Open WebUI Search for `Dhptl/MiniCPM5-1B` in the model browser. ### llama.cpp CLI ```bash # Download the binary from https://github.com/ggerganov/llama.cpp/releases ./llama-cli \ -m MiniCPM5-1B-Q4_K_M.gguf \ -p "You are a helpful assistant." \ --conversation \ -n 512 ``` ### Python — llama-cpp-python ```python from llama_cpp import Llama llm = Llama( model_path="./MiniCPM5-1B-Q4_K_M.gguf", n_gpu_layers=-1, # -1 = offload everything to GPU n_ctx=4096, ) response = llm.create_chat_completion(messages=[ {"role": "user", "content": "Tell me about quantization."} ]) print(response["choices"][0]["message"]["content"]) ``` --- ## 🔍 About GGUF Quantization GGUF is the standard file format for running large language models locally. Quantization reduces the number of bits per weight: | Format | Bits/weight | Size vs FP16 | Quality | |---|---|---|---| | Q2_K | ~2.6 | 16% | ⭐ | | Q3_K_M | ~3.3 | 21% | ⭐⭐⭐ | | Q4_K_M | ~4.5 | 28% | ⭐⭐⭐⭐ ← sweet spot | | Q5_K_M | ~5.6 | 35% | ⭐⭐⭐⭐½ | | Q8_0 | ~8.5 | 53% | ⭐⭐⭐⭐⭐ | --- ## 💬 Community & Feedback Found an issue? Have a question? Open a **Discussion** in the Community tab above. If these quantizations were useful, please consider: - ⭐ Starring [quant-kit](https://github.com/DhruvalPtl/quant-kit) on GitHub - 👍 Liking this model on HuggingFace - 💬 Leaving feedback in the Community tab