Instructions to use FardoX/MiniCPM5-2B-rapido-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 FardoX/MiniCPM5-2B-rapido-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 FardoX/MiniCPM5-2B-rapido-GGUF # Run inference directly in the terminal: llama cli -hf FardoX/MiniCPM5-2B-rapido-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf FardoX/MiniCPM5-2B-rapido-GGUF # Run inference directly in the terminal: llama cli -hf FardoX/MiniCPM5-2B-rapido-GGUF
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 FardoX/MiniCPM5-2B-rapido-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf FardoX/MiniCPM5-2B-rapido-GGUF
Use Docker
docker model run hf.co/FardoX/MiniCPM5-2B-rapido-GGUF
- Llama new
- LM Studio
- Jan
- Ollama
How to use FardoX/MiniCPM5-2B-rapido-GGUF with Ollama:
ollama run hf.co/FardoX/MiniCPM5-2B-rapido-GGUF
- Unsloth Desktop
- Pi
How to use FardoX/MiniCPM5-2B-rapido-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FardoX/MiniCPM5-2B-rapido-GGUF
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": "FardoX/MiniCPM5-2B-rapido-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use FardoX/MiniCPM5-2B-rapido-GGUF with Docker Model Runner:
docker model run hf.co/FardoX/MiniCPM5-2B-rapido-GGUF
- Lemonade
How to use FardoX/MiniCPM5-2B-rapido-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FardoX/MiniCPM5-2B-rapido-GGUF
Run and chat with the model
lemonade run user.MiniCPM5-2B-rapido-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use FardoX/MiniCPM5-2B-rapido-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 FardoX/MiniCPM5-2B-rapido-GGUF
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 FardoX/MiniCPM5-2B-rapido-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use FardoX/MiniCPM5-2B-rapido-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FardoX/MiniCPM5-2B-rapido-GGUF
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 "FardoX/MiniCPM5-2B-rapido-GGUF" \ --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-2B rapido - 1.99-bit GGUF (experimental, big quality loss)
What: MiniCPM5-2B shrunk 8.1x (5.04 GB bf16 -> 0.63 GB) with the same 2-bit method that keeps ~97% of Qwen3.8-27B. On this small model it does not hold up: GSM8K 0.32 vs 0.91 original (35%), MATH-500 0.13 vs 0.56 (23%). Q4_0 of the original keeps 86% of GSM8K. Use this file for size/speed experiments, not for quality.
Run (main file, ECTV) - download this repo into a folder, then inside that folder:
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
git checkout ad9d9e8f50e6ff9a6bfbbdd3aef6d74a8428cf4e && git apply ../ectv-cuda-mmq-llamacpp.patch
cmake -B build -DGGML_CUDA=ON -DLLAMA_USE_PREBUILT_UI=OFF && cmake --build build -j --target llama-server
./build/bin/llama-server -m ../MiniCPM5-2B-rapido-ECTV.gguf -ngl 999 --jinja
Open http://localhost:8080. Suggested sampling (original card): temperature 1.0, top_p 0.95, min_p 0.0.
No build wanted? MiniCPM5-2B-rapido.gguf is the same weights as IQ2_XXS (2.08 bits) and loads in a stock llama.cpp at that commit or newer.
Specs (measured by us; 100 items each, greedy, no thinking mode, same script for every column)
| bf16 (original) | this, ECTV | Q4_0 | |
|---|---|---|---|
| GSM8K | 0.91 | 0.32 | 0.78 |
| MATH-500 (100 sampled) | 0.56 | 0.13 | 0.40 |
| bits/weight, whole model | 16.02 | 1.99 | 4.74 |
| size | 5.04 GB | 0.63 GB | 1.49 GB |
| wikitext-2 PPL (24 x 512) | 14.42 | 31.53 | 16.08 |
- Speed, NVIDIA RTX A5000, batch 1: ECTV 213.3 tok/s generation (0.78x Q4_0), 9606 tok/s prompt (0.79x Q4_0); IQ2_XXS on stock llama.cpp 217.8 tok/s generation (0.81x Q4_0), 9654 tok/s prompt (0.84x Q4_0).
- "Whole model" counts embeddings, output head and norms; every matrix is 2-bit.
- Not the reader: the same quantized weights run through PyTorch-rebuilt bf16 GGUF give GSM8K 0.29; the loss is in the 2-bit weights themselves.
- Tried (8-chunk wikitext PPL, bf16 15.4, this 30.5): embeddings+head in Q8_0 25.9; first/last 4 layers in Q4_0 25.5; all FFN gate/up in Q4_0 23.2. None comes close to bf16.
- Method: block-Hadamard rotation (512) + vector GPTQ on the IQ2_XXS grid, 4-bit scale per 64 weights, calibration with the model's own generations; ECTV is a new weight type (CPU + CUDA) in the patch, a lossless repacking of the IQ2_XXS file.
- 100 items give about +-5 points of noise. Only NVIDIA CUDA tested; CPU speed not measured. Unofficial derivative, Apache-2.0 (same as the original model).
- Downloads last month
- 294
We're not able to determine the quantization variants.
Model tree for FardoX/MiniCPM5-2B-rapido-GGUF
Base model
openbmb/MiniCPM5-2B