/ Модель

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

Контекст
131 072 токена
Параметры
838 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
MiniCPM5-1B
Опубликована
27 июл 2026

MiniCPM5-1B-Agentic-Tooluse-v3-Merged-FP16

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

Компактная дообученная MiniCPM5-1B формирует структурированные вызовы функций для локальных агентных систем.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MiniCPM5-1B-Agentic-Tooluse-v3-Merged-FP16 — компактная причинная языковая модель семейства Llama, разработанная на базе openbmb/MiniCPM5-1B и дообученная для вызова инструментов в агентных системах. Она получает текстовый запрос и описание доступных инструментов, а затем формирует структурированный вызов с именем функции и аргументами. Модель рассчитана на работу с Transformers, vLLM и SGLang, в том числе в локальных, периферийных и высоконагруженных сервисах.

По README, обучение включало QLoRA supervised fine-tuning и последующее GRPO-обучение с подкреплением, направленное на точность выбора функции и заполнения аргументов. Весовая версия объединена в один чекпойнт FP16 в формате safetensors; размер модели в метаданных — 837,6 млн параметров, контекст — до 131 072 токенов. В README заявлена точность точного совпадения аргументов 74,67% на отложенной выборке из 300 примеров ToolACE.

Модель подходит для локальных агентных бэкендов и сценариев, где важны стоимость, задержка и контроль над данными. Известное ограничение — модель может продолжать генерировать заполняющий текст после вызова инструмента; заявленные показатели основаны на небольшой тестовой выборке. Лицензия — Apache-2.0.

Сценарии применения

  • выбор подходящего инструмента по запросу пользователя
  • формирование вызова функции с заполненными аргументами
  • подключение локальной LLM к MCP-серверам
  • вызов инструментов в агентах LangChain и LlamaIndex
  • автоматизация команд умного дома через функции

Ограничения

В README отмечено, что после сформированного вызова модель может продолжать генерировать заполняющий текст; заявленная точность аргументов измерена на отложенной выборке из 300 примеров.

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

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

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

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

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

Открыть на Hugging Face

MiniCPM5-1B-Agentic-Tooluse-v3-Merged-FP16 — Small Function-Calling LLM for vLLM / SGLang / Transformers

MiniCPM5-1B-Agentic-Tooluse-v3 is a 1-billion-parameter open-weight function-calling model merged into a single full-precision FP16 checkpoint — no adapter loading, no PEFT setup, no extra dependencies. Load it directly with transformers, serve it with vLLM or SGLang, and start calling tools immediately.

If you are looking for a small function-calling LLM for production serving, a 1B tool-use model for vLLM or SGLang, a compact open-weight alternative to GPT-4o / Claude function calling, or a locally deployable structured-output model for agent pipelines, this is the single-file, deploy-anywhere version.

74.67% exact-argument accuracy on a held-out 300-example benchmark — trained with QLoRA supervised fine-tuning followed by GRPO reinforcement learning, rewarding exact function-name and argument-value correctness.

Why this model

MiniCPM5-1B-Agentic-Tooluse-v3 is fine-tuned specifically to parse a tool schema and a natural-language user request, then emit a structured, correctly-named, correctly-valued function call — the exact skill that powers LangChain agents, LlamaIndex pipelines, AutoGen, CrewAI, MCP tool servers, ReAct loops, and home-automation assistants.

Unlike most small open tool-calling models that stop at supervised fine-tuning, this model goes further with GRPO reinforcement learning on top of the SFT checkpoint, specifically rewarding the two hardest parts of tool calling: choosing the right function name and getting every argument value exactly right.

Compared to GPT-4o / Claude for function calling: this model is 100% free, runs locally, keeps all data private, has zero per-call cost, and is fine-tunable — it trades some absolute accuracy for massive gains in cost, latency, and privacy. The merged FP16 format means you can load it with a single AutoModelForCausalLM.from_pretrained() call, just like any base model.

Why this model

MiniCPM5-1B-Agentic-Tooluse-v3 is fine-tuned specifically for agentic tool/function calling: given a tool schema and a natural-language request, it reliably produces a correctly-named, correctly-structured, correctly-valued function call — the exact capability that powers LangChain/LlamaIndex/AutoGen/CrewAI agents, MCP tool servers, ReAct-style loops, and home-automation assistants.

This release combines QLoRA supervised fine-tuning with a GRPO reinforcement-learning refinement stage, specifically optimized to improve exact function-name selection and exact argument-value correctness — historically the two hardest failure modes for small (~1B) tool-calling models.

Results

Evaluated on a held-out 300-example test slice drawn from a seeded shuffle of ToolACE (see Split integrity). The base-model column is the same model with the same prompt and no adapter.

The published weights are SFT + GRPO (see GRPO / RLVR). The SFT column is kept because every negative result below is measured against it.

metricv2 (previous release)SFT retrain (pre-GRPO)v3 = SFT + GRPO (published)
parseable — output is a well-formed call0.99331.00001.0000
valid_name — name exists among the offered tools0.97000.98670.9867
expected_name — name matches gold0.90670.95670.9533
args_exact — every argument value matches gold0.61330.73670.7467
arg_key_overlap — F1 over argument keys0.87570.94220.9388
mean of 50.87180.92450.9251

GRPO buys +0.0100 on args_exact, the metric that matters here, and gives back 0.0034 (one test example each) on expected_name and arg_key_overlap. That trade is reported rather than hidden: the mean moves only +0.0006, so this is a targeted gain on the hardest metric, not a broad improvement.

Full 8-metric benchmark (held-out test set, n=300)

This table mirrors the evaluation format from v2 and shows Base, v2, and v3 side-by-side across all 8 metrics using a single consistent harness and held-out test slice:

MetricBase MiniCPM5-1Bv2 (previous release)v3 (this model)Delta (v2 → v3)
parseable_rate0.01330.99331.0000+0.0067
valid_name_rate0.01330.97000.9867+0.0167
expected_name_rate0.01330.92670.9533+0.0267
args_exact_rate0.15000.65330.7467+0.0934
arg_key_overlap0.00330.75170.9388+0.1871
no_schema_copy_rate1.00001.00000.9967-0.0033
no_repetition_rate0.99671.00000.3400-0.6600
stopped_cleanly_rate0.00000.15000.0000-0.1500

What the additional metrics mean:

  • no_schema_copy_rate — the model did not copy the tool schema's own field description verbatim into an argument value.
  • no_repetition_rate — the completion did not contain a duplicated function-call block or degenerate repeated-phrase loop. This model has a known weakness here: it often continues generating filler content after the tool call completes. Use a parser that extracts the first completed <function>...</function> block.
  • stopped_cleanly_rate — the model naturally stopped immediately after the completed </function> tag with no trailing tokens. Use a parser that treats the first completed <function>...</function> block as the action boundary — do not rely on natural end-of-generation.

Model details

  • Base model: openbmb/MiniCPM5-1B

  • Architecture: Llama-style causal language model, ~1.08B parameters

  • Format: merged full weights, safetensors, FP16 — no adapter/PEFT loading required

  • Training pipeline: QLoRA SFT on tool-calling trajectories → GRPO reinforcement learning targeting exact argument correctness

  • Compatible with: transformers, vLLM, SGLang, TGI, and any standard Hugging Face causal-LM serving pipeline

Quickstart


from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-v3-Merged-FP16")

model = AutoModelForCausalLM.from_pretrained("ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-v3-Merged-FP16")

# Use tok.apply_chat_template(messages, tools=[...]) with your function/tool schema,

# then generate as usual — the model emits a structured function call.

vLLM:


vllm serve ewinregirgojr/MiniCPM5-1B-Agentic-Tooluse-v3-Merged-FP16

Ideal use cases

  • Production agent backends that need a fast, cheap, self-hosted function-calling model

  • LangChain / LlamaIndex / AutoGen / CrewAI / MCP-based agents needing a small, reliable tool-calling backbone

  • On-device and edge deployments where a 7B+ model isn't an option

  • High-throughput services where per-request cost and latency matter more than squeezing out the last few points of accuracy from a much larger model

  • Teams that want a fully open-weight, fine-tunable starting point instead of depending on a closed API for structured tool calls

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

v3 model family (this 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

Previous releases

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

FAQ

Do I need the adapter repo too? No — this repo already contains the fully merged weights. Use the adapter repo only if you want to load it on top of base MiniCPM5-1B yourself or continue fine-tuning.

What's the difference between this and the GGUF repo? This is full-precision FP16 safetensors for GPU-backed serving frameworks (transformers, vLLM, SGLang). The GGUF repo is quantized for CPU-friendly local inference via llama.cpp/Ollama/LM Studio.

How was v3 trained differently from v2? v3 continues from the v2-era recipe with an additional QLoRA SFT pass plus a GRPO reinforcement-learning stage explicitly rewarding exact argument-value correctness, which is what drives the args_exact improvement shown above.

Base model

Built on MiniCPM5-1B by OpenBMB.

Limitations

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
6ec6464

0 моделей