549 Downloads Updated 2 weeks ago
ollama run juithealian404/MiniCPM5-1B-Agentic-Tooluse-GGUF:f16
Updated 2 weeks ago
2 weeks ago
bed5586985ea · 2.2GB ·
Current GGUF exports of the July 2026 Nemotron SFT+DPO repaired
MiniCPM5-1B-Agentic-Tooluse-Merged-FP16.
These files were generated from the latest evaluated merged checkpoint. The previous warning that this repository had not been regenerated is no longer applicable.
| Use case | Repository |
|---|---|
| Current F16, Q8_0, and Q4_K_M GGUF files | This repository |
| Standalone merged Hugging Face model | MiniCPM5-1B-Agentic-Tooluse-Merged-FP16 |
| PEFT/LoRA adapter | MiniCPM5-1B-Agentic-Tooluse-QLoRA-v2 |
| File | Size | Recommended use |
|---|---|---|
MiniCPM5-1B-Agentic-Tooluse-Nemotron-DPO.F16.gguf |
2.17 GB | Highest-fidelity GGUF and reference conversion |
MiniCPM5-1B-Agentic-Tooluse-Nemotron-DPO.Q8_0.gguf |
1.15 GB | High fidelity with lower memory use |
MiniCPM5-1B-Agentic-Tooluse-Nemotron-DPO.Q4_K_M.gguf |
688 MB | Recommended local size/speed balance |
CONVERSION_METADATA.json |
Small | Exact source and converter revisions |
The pre-Nemotron exports are retained under legacy/ for reproducibility. Use the root-level Nemotron-DPO files for the current model.
openbmb/MiniCPM5-1Bewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-QLoRA-v2ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-Merged-FP1667e1cad9b15ffc21d0877bf952d9ece2eeda5d35683f0c72e5b3c07fab90bfd9ec2ce8661d624228The export pipeline checked each output’s GGUF magic, format version, size, and successful completion by llama-quantize. Full task evaluation was performed on the source merged model, not independently on every quantization.
The model emits XML-style calls:
<function name="tool_name"><param name="parameter">value</param></function>
A deployment runtime should:
</function>.Use a recent llama.cpp build:
llama-cli \
-m MiniCPM5-1B-Agentic-Tooluse-Nemotron-DPO.Q4_K_M.gguf \
-p '<user>Fix the calculator bug.</user>
<tools>{"name":"run_tests","description":"Run the test suite."}</tools>
<calls>' \
-n 96 \
--temp 0
The exact chat template and EOS handling matter. If a frontend supplies its own template, verify that it matches the source model’s chat_template.jinja.
As of July 2026, vLLM documents GGUF support as highly experimental and under-optimized. GGUF support also requires the out-of-tree plugin:
uv pip install vllm vllm-gguf-plugin
Serve Q4_K_M directly from the Hub:
vllm serve \
ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-GGUF:Q4_K_M \
--tokenizer ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-Merged-FP16 \
--hf-config-path ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-Merged-FP16
The separate tokenizer/config arguments follow vLLM’s recommendation to avoid unstable GGUF tokenizer conversion. The merged repository is used because it contains the matching tokenizer, configuration, and chat template.
For stable high-throughput vLLM deployment, prefer the merged safetensors repository when memory permits.
External evaluation used 300 examples derived from the untouched
Team-ACE/ToolACE dataset. The same cases and deterministic first-call evaluator were used for the base and fine-tuned source model. This is not an official ToolACE leaderboard submission.
| Metric | Base MiniCPM5-1B | Nemotron repaired source | Delta |
|---|---|---|---|
| Parseable tool call | 0.0133 | 0.9933 | +0.9800 |
| Valid available-tool name | 0.0133 | 0.9700 | +0.9567 |
| Expected tool name | 0.0133 | 0.9267 | +0.9133 |
| Exact arguments | 0.1500 | 0.6533 | +0.5033 |
| Argument-key overlap | 0.0033 | 0.7517 | +0.7484 |
| No schema copying | 1.0000 | 1.0000 | +0.0000 |
| No repetition | 0.9967 | 1.0000 | +0.0033 |
| Clean stop | 0.0000 | 0.1500 | +0.1500 |
These scores establish the behavior of the merged source checkpoint. Quantization can alter individual outputs, so evaluate the exact GGUF and runtime configuration used in production.
These GGUF files were converted from the repaired merged checkpoint, whose reported results improved substantially over base MiniCPM5-1B:
These are source FP16 metrics. The remaining gap to 100% is residual error after improvement, not evidence that the fine-tune made the base model worse.
The current Nemotron-DPO files are the July 2026 repaired exports. Legacy pre-Nemotron files are stored under legacy/ for reproducibility, and earlier repository states remain available from Hugging Face commit history.
MiniCPM5-1B has native XML-style tool calling. OpenBMB recommends SGLang for tool calling with its built-in minicpm5 parser:
python -m sglang.launch_server \
--model-path MODEL_PATH \
--tool-call-parser minicpm5
The parser converts a completed <function ...>...</function> block into an OpenAI-compatible tool_calls response. A production agent should treat the first completed function block as the action boundary, validate it, execute the tool externally, and send the tool result in a new turn.
The reported stopped_cleanly_rate=0.15 is a strict natural-termination metric: only 15% of evaluated generations emitted a completed call and then naturally terminated at that boundary without runtime intervention. It does not mean that only 15% produced usable tool calls. On the same 300 cases, the repaired source model achieved:
parseable_rate=0.9933valid_name_rate=0.9700expected_name_rate=0.9267no_repetition_rate=1.0000Therefore, natural EOS-at-boundary remains weak, while first-call extraction and selection are much stronger. Use the official parser where supported and configure bounded generation or parser-side stopping after the first complete </function>.