/ Модель

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

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

MiniCPM5-2B-Supertool

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

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

120скачиваний за 30 дней0лайковвеса обновлены16 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MiniCPM5-2B-Supertool — компактная языковая модель, созданная RACER IS OP (saidutta69) на основе openbmb/MiniCPM5-2B. Модель дообучена методом QLoRA на примерах работы с инструментами Claude Code и предназначена для генерации вызовов инструментов в нативном XML-формате базовой модели. Она принимает текстовые запросы и схемы инструментов через шаблон чата и генерирует текст с вызовами; заявленный контекст составляет 131 072 токена, размер — 2,2 млрд параметров.

Модель подходит для сценариев, где ассистенту нужно выбирать инструмент и формировать его аргументы, например для работы с файлами, поиска и выполнения команд. В независимой оценке на 89 не встречавшихся при обучении API автор сообщает точность полного совпадения вызова 77,3%. Это специализированная модель, а не универсальный чат-ассистент: обучение сосредоточено на поверхности Claude Code, а перенос на другие схемы инструментов ограничен. Длинные аргументы, особенно содержимое файлов для Write, могут обрезаться при малом лимите генерации. У модели нет защитных механизмов от prompt injection; вызовы следует проверять перед исполнением. Распространяется по лицензии Apache-2.0.

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

  • генерация вызовов Bash для выполнения команд
  • чтение и редактирование файлов через инструменты Claude Code
  • поиск файлов и текста с помощью Glob и Grep
  • формирование аргументов для вызовов инструментов по пользовательскому запросу

Ограничения

Это специализированная модель для инструментов Claude Code, а не универсальный ассистент; перенос на произвольные схемы инструментов ограничен. Длинные аргументы могут обрезаться, а модель не проверялась на устойчивость к prompt injection, поэтому вызовы нужно валидировать перед исполнением.

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

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

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

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

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

Открыть на Hugging Face

🛠️ MiniCPM5-2B-Supertool

A 2.5B tool-calling model: openbmb/MiniCPM5-2B fine-tuned to drive the Claude Code tool surface — Bash, Read, Write, Edit, Glob, Grep, WebFetch, WebSearch, TodoWrite, TaskUpdate, ToolSearch — emitting calls in the base model's native XML form:

<function name="Bash"><param name="command">ls tasks/</param></function>

Weights are full precision with the LoRA already merged. Load it directly:

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("saidutta69/MiniCPM5-2B-Supertool")
model = AutoModelForCausalLM.from_pretrained("saidutta69/MiniCPM5-2B-Supertool")

No PEFT, no adapter step. Pass your tool schemas to apply_chat_template(tools=...) as you would with the base model.

Benchmarks

FC-Eval — independent, held-out APIs

saidutta69/fc-eval-benchmark, eval split: 89 APIs, none seen in training. 150 tasks sampled round-robin across APIs, greedy decoding, both models at fp16. This is the one result here that does not come from the training corpus.

MetricBaseSupertool
Task success (exact call)49.3%77.3%
Tool name correct50.0%90.0%
Argument keys correct50.0%87.3%
Format failures50.0%8.7%
Wall time, 150 tasks1071 s886 s

The base is all-or-nothing: it emits a parseable call exactly half the time, and when it does the call is exactly right (success == name == arg-keys == 0.50). Supertool parses 91.3% of the time and is exact on 77.3%. Most of the gain is format compliance and tool choice; argument values improve less.

In-domain agent traces

120 examples from the training dataset's own validation split, never trained on. Greedy, max_new=384, both models 4-bit on one Tesla T4.

MetricBaseSupertool
Completion loss1.56911.1246
Tool name correct47.5%54.2%
Argument names correct31.7%46.7%
Full match0.0%4.2%
Parseable call emitted88.3%75.8%

That last row looks like a regression and is not one. Every failing Supertool example is a Write call cut off inside its content argument by the generation cap: this model writes an actual file body, while the base emits a shorter, vaguer call that happens to fit. Raising the cap from 160 to 384 lifted the base from 81.7% to 88.3% while Supertool moved 64.2% to 75.8% — truncation, not non-compliance. Among calls it does emit:

BaseSupertool
Tool name correct53.8%71.4%
Argument names correct35.8%61.5%

Training

Baseopenbmb/MiniCPM5-2B
MethodQLoRA — NF4 4-bit, LoRA r=16 alpha=32 dropout 0
LoRA targetsq_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
Datasaidutta69/fable-5.1-premium-v2, claude_code split only
Examples42,514 — one per assistant tool-calling turn
Coverage~3,500 of 4,132 trajectories, 12 examples each
Validated calls347,136 — zero bad JSON, zero missing required fields
Supervisionfinal assistant turn only, via a prompt/completion split
Schedule240 steps, effective batch 16, seq 4096, lr 2e-4 cosine, warmup 3%
Loss1.107 → 0.276
Hardware2× Tesla T4 (sm_75), fp16, 7 h 40 m, peak 8.92 GB per card

Data

Traces originate from MoreThought/Fable-5.1-Max-Reasoning-Filtered-10000x; credit for them belongs to MoreThought. They were repackaged into saidutta69/fable-5.1-premium-v2 and then adapted for this model:

  • kept only the claude_code share; dropped the anonymised half (unknown_tool)
  • dropped tool_calls with no matching tool response, and orphan tool messages
  • re-serialised messages canonically and de-duplicated by SHA-256 over messages plus tool names
  • reconstructed the 14-tool Claude Code schema surface, validated every call against it, dropped rows that did not fit
  • excluded the fable_code configuration: 203,750 of its 203,794 calls carry the schema rendered as the value ({"path": "<file_path>"}), which teaches a model to emit placeholders
  • sampled 12 examples per trajectory so coverage spans ~3,500 rows instead of 212

Limitations

  • Not a general assistant. A 2.5B specialist that emits tool calls; it is weaker than the base at open-ended conversation.
  • One tool family. Trained on Claude Code's surface, not arbitrary schemas. The FC-Eval result shows real cross-schema transfer, not generalisation to any API.
  • Exact match is low in-domain — 5 of 120. Long Write payloads are approximated.
  • One pass, never looped. 240 steps is roughly three quarters of a single epoch.
  • No GGUF / llama.cpp build published yet.
  • Held-out loss is worse than an earlier narrower run of the same recipe (1.125 vs 0.976) while tool accuracy is better: wider data memorises less and generalises more.

Responsible use

No guardrails. This model was not trained or evaluated for prompt-injection resistance, and it will follow instructions that arrive inside tool output. Validate its calls before letting it act on anything destructive, and do not expose it to untrusted tool results without a policy layer in front.

Licence

Apache-2.0.

openbmb/MiniCPM5-2B states in its card that the repository and MiniCPM model weights are Apache-2.0, with a link to the LICENSE in the OpenBMB GitHub repository. The training data declares Apache-2.0 in saidutta69/fable-5.1-premium-v2, inherited from MoreThought, which declares the same.

Both declarations are made in cards: neither dataset repository ships a standalone LICENSE file, and the MoreThought source carries the tag with no separate terms or attribution section. The Apache-2.0 claim for these weights therefore rests on those upstream declarations. Stated plainly here rather than implied.

Apache-2.0 requires keeping the licence and notices and indicating changes — the change list above is provided for that purpose.

🔗 Related

Made with care by RACER IS OP (saidutta69).

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей