/ Модель

Характеристики

Лицензия
Своя лицензия
Базовая модель
MiniCPM5-1B-Agentic-Tooluse-Merged-FP16
Библиотека
gguf
Опубликована
7 июл 2026

MiniCPM5-1B-Agentic-Tooluse-GGUF

Генерация текста3 профессии

MiniCPM5-1B-Agentic-Tooluse-GGUF — компактная текстовая генеративная модель семейства MiniCPM5, основанная на openbmb/MiniCPM5-1B и дообученная с применением адаптера ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-QLoRA-v2.

2 565скачиваний за 30 дней77лайковвеса обновлены29 июл 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Репозиторий подготовлен ewinregirgojr в формате GGUF и содержит варианты F16, Q8_0 и Q4_K_M.

Модель предназначена прежде всего для агентных сценариев и вызова внешних инструментов или функций. Она формирует XML-вызовы вида function с именем инструмента и параметрами, поэтому подходит для интеграции с рантаймами, способными передавать схему доступных инструментов, разбирать вызов, выполнять функцию и возвращать результат в новом сообщении. Рекомендуется использовать детерминированное декодирование, останавливать генерацию после первого полного вызова и проверять имя и аргументы по схеме.

Ключевые характеристики — размер около 1 млрд параметров, текстовая модальность и поддержка запуска через llama.cpp; также описана экспериментальная интеграция с vLLM. Для локального использования рекомендуется Q4_K_M как компромисс между размером и скоростью, Q8_0 обеспечивает более высокую точность, а F16 предназначен для максимальной точности и эталонной конвертации. В README не указаны поддерживаемые языки и размер контекстного окна. На внешней выборке из 300 примеров модель показала высокую долю разбираемых вызовов инструментов — 99,33%, корректных доступных имён — 97%, ожидаемых имён — 92,67%, при точном совпадении аргументов в 65,33% случаев. При этом чистая остановка генерации отмечена только в 15% случаев, а оценивание проводилось на исходной объединённой модели, не отдельно для каждой GGUF-квантизации.

Лицензия обозначена как other; конкретные условия в README не приведены, поэтому перед использованием необходимо проверить лицензионные ограничения исходной и производной моделей.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

MiniCPM5-1B Agentic Tooluse Nemotron DPO GGUF

Newly Updated and Better Checkpoint (Click Here)

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.

Model Family

Use caseRepository
Current F16, Q8_0, and Q4_K_M GGUF filesThis repository
Standalone merged Hugging Face modelMiniCPM5-1B-Agentic-Tooluse-Merged-FP16
PEFT/LoRA adapterMiniCPM5-1B-Agentic-Tooluse-QLoRA-v2

Current Files

FileSizeRecommended use
MiniCPM5-1B-Agentic-Tooluse-Nemotron-DPO.F16.gguf2.17 GBHighest-fidelity GGUF and reference conversion
MiniCPM5-1B-Agentic-Tooluse-Nemotron-DPO.Q8_0.gguf1.15 GBHigh fidelity with lower memory use
MiniCPM5-1B-Agentic-Tooluse-Nemotron-DPO.Q4_K_M.gguf688 MBRecommended local size/speed balance
CONVERSION_METADATA.jsonSmallExact 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.

Provenance

  • Base model: openbmb/MiniCPM5-1B
  • Current adapter: ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-QLoRA-v2
  • Conversion source: ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-Merged-FP16
  • Source revision: 67e1cad9b15ffc21d0877bf952d9ece2eeda5d35
  • llama.cpp revision: 683f0c72e5b3c07fab90bfd9ec2ce8661d624228
  • Quantizations: F16, Q8_0, Q4_K_M

The 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.

Tool-Call Format

The model emits XML-style calls:

<function name="tool_name"><param name="parameter">value</param></function>

A deployment runtime should:

  1. Provide the available tool definitions in the training-compatible prompt format.
  2. Decode deterministically for tool selection.
  3. Stop after the first complete </function>.
  4. Validate the function name and arguments against the supplied schema.
  5. Execute the tool outside the model and provide the result in a new turn.

llama.cpp

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.

vLLM

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.

Source-Model Evaluation

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.

MetricBase MiniCPM5-1BNemotron repaired sourceDelta
Parseable tool call0.01330.9933+0.9800
Valid available-tool name0.01330.9700+0.9567
Expected tool name0.01330.9267+0.9133
Exact arguments0.15000.6533+0.5033
Argument-key overlap0.00330.7517+0.7484
No schema copying1.00001.0000+0.0000
No repetition0.99671.0000+0.0033
Clean stop0.00000.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.

Source-Model Improvements and GGUF Scope

These GGUF files were converted from the repaired merged checkpoint, whose reported results improved substantially over base MiniCPM5-1B:

  • Parseable calls: 1.33% -> 99.33%
  • Valid available-tool names: 1.33% -> 97.00%
  • Expected-tool selection: 1.33% -> 92.67%
  • Exact arguments: 15.00% -> 65.33%
  • Argument-key overlap: 0.33% -> 75.17%
  • No repetition: 99.67% -> 100.00%
  • Natural clean termination: 0.00% -> 15.00%

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.

Deployment Notes

  • Q4_K_M and Q8_0 have not yet received an independent 300-case ToolACE run, so their exact scores should not be assumed identical to FP16.
  • Schema validation and permission checks are universal tool-runtime safety requirements, not model-specific regressions.
  • Valid-name and exact-argument behavior improved strongly in the source model; rare errors can still occur on unseen tools.
  • MiniCPM5's parser-based serving path extracts the first completed XML call instead of relying solely on natural EOS.
  • vLLM GGUF support is experimental; merged safetensors remains the more reliable vLLM format.
  • llama.cpp behavior depends on build version and the frontend's chat-template handling.

Version History

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 Tool-Call Runtime Contract

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.9933
  • valid_name_rate=0.9700
  • expected_name_rate=0.9267
  • no_repetition_rate=1.0000

Therefore, 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>.

Base model architecture

MiniCPM5-1B uses a standard LlamaForCausalLM architecture:

PropertyValue
Parameters (total)1,080,632,832
Parameters (non-embedding)679,552,512
ArchitectureLlamaForCausalLM
Layers24
Attention heads (GQA)16 Q / 2 KV
Context length131,072 tokens
TrainingSFT → RL (GRPO) fine-tune on openbmb/MiniCPM5-1B

Thinking mode

MiniCPM5-1B has a built-in <think>...</think> chat template. The same checkpoint can act as a fast assistant or a deliberate chain-of-thought reasoner — controlled by a single flag:

# Fast mode — recommended for tool calling (thinking OFF)
prompt = tokenizer.apply_chat_template(
    messages, tools=tools, add_generation_prompt=True,
    enable_thinking=False,
    tokenize=False,
)

# Reasoning mode (thinking ON — NOT recommended for tool calling)
prompt = tokenizer.apply_chat_template(
    messages, tools=tools, add_generation_prompt=True,
    enable_thinking=True,
    tokenize=False,
)

Important: always use enable_thinking=False for tool/function calling. With thinking ON the model spends its token budget inside <think>...</think> and may not reach a completed function call. All benchmark numbers in this card use thinking OFF.

Citation

If you use this model, please cite the base model paper:

@article{minicpm4,
  title   = {MiniCPM4: Ultra-Efficient LLMs on End Devices},
  author  = {MiniCPM Team},
  journal = {arXiv preprint arXiv:2506.07900},
  year    = {2025}
}

And the ToolACE dataset used for fine-tuning:

@article{toolace,
  title   = {ToolACE: Winning the Points of LLM Function Calling},
  author  = {Liu, Ying and others},
  journal = {arXiv preprint arXiv:2409.00920},
  year    = {2024}
}

ModelScope

The base model is also available on ModelScope (for users in China and East Asia):

(The fine-tuned adapter/GGUF builds are currently HuggingFace-only.)

Related repos

Latest v3 release

FormatRepository
LoRA adapter (PEFT, smallest download, fine-tune further)MiniCPM5-1B-Agentic-Tooluse-QLoRA-v3
Merged full-weight FP16 (transformers / vLLM / SGLang serving)MiniCPM5-1B-Agentic-Tooluse-v3-Merged-FP16
GGUF quantizations (llama.cpp / Ollama / LM Studio, CPU-friendly)MiniCPM5-1B-Agentic-Tooluse-v3-GGUF

v2 family (this release)

FormatRepository
v2 LoRA adapterMiniCPM5-1B-Agentic-Tooluse-QLoRA-v2
v2 Merged FP16MiniCPM5-1B-Agentic-Tooluse-Merged-FP16
v2 GGUFMiniCPM5-1B-Agentic-Tooluse-GGUF

Limitations

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · gguf

Можно запустить

Подбираем GPU…

Ревизия весов
a84222e

0 моделей