Instructions to use saidutta69/RaceBench-MiniCPM5 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 saidutta69/RaceBench-MiniCPM5 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 saidutta69/RaceBench-MiniCPM5:Q4_K_M # Run inference directly in the terminal: llama cli -hf saidutta69/RaceBench-MiniCPM5:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf saidutta69/RaceBench-MiniCPM5:Q4_K_M # Run inference directly in the terminal: llama cli -hf saidutta69/RaceBench-MiniCPM5: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 saidutta69/RaceBench-MiniCPM5:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf saidutta69/RaceBench-MiniCPM5: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 saidutta69/RaceBench-MiniCPM5:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf saidutta69/RaceBench-MiniCPM5:Q4_K_M
Use Docker
docker model run hf.co/saidutta69/RaceBench-MiniCPM5:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use saidutta69/RaceBench-MiniCPM5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "saidutta69/RaceBench-MiniCPM5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "saidutta69/RaceBench-MiniCPM5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/saidutta69/RaceBench-MiniCPM5:Q4_K_M
- Ollama
How to use saidutta69/RaceBench-MiniCPM5 with Ollama:
ollama run hf.co/saidutta69/RaceBench-MiniCPM5:Q4_K_M
- Unsloth Studio
How to use saidutta69/RaceBench-MiniCPM5 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for saidutta69/RaceBench-MiniCPM5 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for saidutta69/RaceBench-MiniCPM5 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for saidutta69/RaceBench-MiniCPM5 to start chatting
- Pi
How to use saidutta69/RaceBench-MiniCPM5 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf saidutta69/RaceBench-MiniCPM5:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "saidutta69/RaceBench-MiniCPM5:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use saidutta69/RaceBench-MiniCPM5 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf saidutta69/RaceBench-MiniCPM5: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 saidutta69/RaceBench-MiniCPM5:Q4_K_M
Run Hermes
hermes
- OpenClaw new
How to use saidutta69/RaceBench-MiniCPM5 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf saidutta69/RaceBench-MiniCPM5: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 "saidutta69/RaceBench-MiniCPM5: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"
- Docker Model Runner
How to use saidutta69/RaceBench-MiniCPM5 with Docker Model Runner:
docker model run hf.co/saidutta69/RaceBench-MiniCPM5:Q4_K_M
- Lemonade
How to use saidutta69/RaceBench-MiniCPM5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull saidutta69/RaceBench-MiniCPM5:Q4_K_M
Run and chat with the model
lemonade run user.RaceBench-MiniCPM5-Q4_K_M
List all available models
lemonade list
- Atomic Chat
RaceBench-MiniCPM5
Full-parameter fine-tune of openbmb/MiniCPM5-1B on RaceBench, released as the reference checkpoint for the dataset - with fp16 weights and all GGUF quantizations (Q2_K through F16).
The honest headline: RaceBench transfers real multi-step reasoning gains to a 1B model (BBH +2.7, z=3.5), at the cost of a real, larger regression in math (GSM8K -9.9, z=-5.3). This is a tradeoff, not a win - and the tradeoff is the point. v2 of RaceBench adds formal-math data to close the math gap.
Results: RaceBench-MiniCPM5 vs base
Evaluated with lm-evaluation-harness v0.4.12, identical settings for both models (fp16, fixed seed, 2x Tesla T4). Standard errors reported per task; z = delta / pooled SE. |z| > 2 is statistically significant at ~95% confidence.
| Task | RaceBench-MiniCPM5 | MiniCPM5-1B (base) | Delta | z |
|---|---|---|---|---|
| BBH (zero-shot, 27 subtasks, n=6511) | 0.3397 ± 0.0056 | 0.3123 ± 0.0055 | +2.74 | +3.5 |
| GSM8K (n=1319) | 0.3108 ± 0.0127 | 0.4102 ± 0.0135 | -9.93 | -5.3 |
| MMLU (subset, n=5700) | 0.5310 ± 0.0060 | 0.5497 ± 0.0059 | -1.87 | -2.2 |
| Minerva MATH-500 (n=500) | 0.2140 ± 0.0184 | 0.2620 ± 0.0197 | -4.80 | -1.8 |
| Winogrande (n=1267) | 0.5391 ± 0.0140 | 0.5620 ± 0.0139 | -2.29 | -1.2 |
| HellaSwag (n=10042) | 0.4820 ± 0.0050 | 0.4881 ± 0.0050 | -0.61 | -0.9 |
| TruthfulQA MC2 (n=817) | 0.4710 ± 0.0149 | 0.4597 ± 0.0149 | +1.13 | +0.5 |
| GPQA Main n-shot (n=448) | 0.2589 ± 0.0207 | 0.2723 ± 0.0211 | -1.34 | -0.5 |
| ARC-Challenge (n=1176) | 0.3746 ± 0.0141 | 0.3831 ± 0.0142 | -0.85 | -0.4 |
What is and isn't significant
- Significant (|z| > 2): BBH +2.7 (reasoning gain), GSM8K -9.9 (math loss), MMLU -1.9 (knowledge loss)
- Not significant (|z| < 2): TruthfulQA, Winogrande, ARC, HellaSwag, MATH-500, GPQA - deltas within noise; no claim is made on these tasks
- Bottom line: RaceBench teaches multi-step reasoning (BBH) at the expense of math (GSM8K) and some knowledge recall (MMLU). The TruthfulQA and GPQA differences sometimes cited for this model are not statistically supported and should not be read as gains.
Deployment implications (read before adopting)
- Agents doing numeric reasoning (arithmetic, unit conversion, tool-call args): expect worse performance than the base model. GSM8K is a direct proxy; the -9.9 is real and large.
- Reasoning-heavy, math-light workloads (multi-hop analysis, planning, classification): expect measurable gains - BBH +2.7 at z=3.5 is the most robust positive signal in this eval.
- Not evaluated: instruction-following (IFEval) and code generation (HumanEval, MBPP) were infeasible on T4 and are not reported. This checkpoint should not be marketed as an "edge agent" model until those are measured.
Evaluation notes
- MMLU is a 5.7K-sample subset (100 per subtask) due to T4 memory limits; identical subset for both models. It is not comparable to published full-MMLU scores of other 1B models.
- Same seed, order, harness version for both models - deltas are head-to-head apples-to-apples, but all claims above require the significance test in the table.
- Single seed, single run per model. Significant effects (BBH, GSM8K, MMLU) survive the test; the rest should be treated as unknown, not as "retained competence."
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"saidutta69/RaceBench-MiniCPM5",
trust_remote_code=True,
torch_dtype="float16",
)
tokenizer = AutoTokenizer.from_pretrained("saidutta69/RaceBench-MiniCPM5")
GGUF quants are in gguf/ (F16, Q8_0, Q6_K, Q5_K_M, Q5_K_S, Q5_0, Q4_K_M, Q4_K_S, Q4_0, Q3_K_M, Q3_K_S, Q2_K).
Training details
- Base model: openbmb/MiniCPM5-1B (Apache-2.0)
- Dataset: saidutta69/RaceBench (agent traces + quality-filtered coding/security/distilled)
- Method: full-parameter fine-tuning, fp16
License
Apache-2.0 (base model weights); RaceBench data is MIT.
Citation
@misc{racebench-minicpm5,
author = {Sai Dutta},
title = {RaceBench-MiniCPM5 -- First Public Fine-Tune on RaceBench},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/saidutta69/RaceBench-MiniCPM5}}
}
- Downloads last month
- 114
Model tree for saidutta69/RaceBench-MiniCPM5
Base model
openbmb/MiniCPM5-1B