/ Модель

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

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

MiniCPM5-2B-Supertool-Uncensored

Генерация текстаТекст → текст7 профессий
206скачиваний за 30 дней0лайковвеса обновлены20 ноя 2026

Описание модели

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

Локальная текстовая модель на базе MiniCPM5-2B-Supertool для генерации кода и вызова инструментов агентами.

MiniCPM5-2B-Supertool-Uncensored — языковая модель для локальных coding- и terminal-агентов, созданная saidutta69 на основе saidutta69/MiniCPM5-2B-Supertool. Это плотная модель семейства Llama с архитектурой LlamaForCausalLM и 2,2 млрд параметров по метаданным; в README указано 2,52 млрд. Модель принимает текст и выдаёт текст, поддерживает формат ChatML и контекст до 131 072 токенов. Она рассчитана на вызов инструментов, генерацию кода и выполнение сценариев с function calling на локальном оборудовании.

Модель получена удалением части направлений отказа из весов базовой модели методом Heretic 2.1.0 Arbitrary-Rank Ablation, а не новым дообучением. В тесте README число отказов снизилось с 96 до 12 на 100 запросов; при этом после изменения не перепроверялись точность вызова инструментов и корректность JSON. Проверка знаний показала небольшое снижение результата MMLU относительно базовой модели. Указаны английский и китайский языки. Репозиторий содержит веса safetensors в fp16, лицензия — Apache-2.0.

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

  • вызов инструментов из локального coding-агента
  • генерация кода по текстовому запросу
  • выполнение команд и сценариев terminal-агентом
  • формирование структурированных ответов для function calling

Ограничения

Точность function calling, корректность JSON и выбор имени инструмента после редактирования весов не измерялись. Модель всё ещё может отказывать в запросах; в README также отмечено небольшое снижение результата MMLU относительно базовой модели.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

MiniCPM5-2B-Supertool-Uncensored

MiniCPM5-2B-Supertool-Uncensored is a 2.52B tool-calling model for local coding agents. It is a decensored build of saidutta69/MiniCPM5-2B-Supertool, made with Heretic 2.1.0 Arbitrary-Rank Ablation: a rank-100 refusal subspace was removed from layers 19-35, cutting refusals from 96/100 to 12/100 at KL divergence 0.0494. PIQA acc_norm is 0.7084 and MMLU acc is 0.5471, about 1.3 points below the base across 14,042 questions. The ChatML tool schema, 131,072-token context and 5.03 GB fp16 footprint are unchanged, so it runs on a 6 GB GPU or with CPU offload. Function-calling accuracy was not re-measured after the edit.

At a glance

Refusals96/100 to 12/100, KL 0.0494
CapabilityPIQA acc_norm 0.7084, MMLU 0.5471 (-1.27pp)
Size / context2.52B params, 5.03 GB fp16, 131,072 tokens
EditHeretic 2.1.0 ARA, rank 100, layers 19-35, seed 42
License / GGUFApache-2.0; no GGUF published yet

For: local coding agents, terminal agents, scripted function calling on consumer hardware. Not for: anyone needing guaranteed refusal, a filtered hosted API, or a re-verified tool-call benchmark. If you want the aligned version with identical capabilities, use the base model.

Quickstart

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "saidutta69/MiniCPM5-2B-Supertool-Uncensored"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="auto", device_map="auto")

tools = [{
    "type": "function",
    "function": {
        "name": "Bash",
        "description": "Run a shell command",
        "parameters": {"type": "object", "properties": {"command": {"type": "string"}},
                       "required": ["command"]},
    },
}]
messages = [{"role": "user", "content": "list the files in the current directory"}]

prompt = tok.apply_chat_template(messages, tools=tools, add_generation_prompt=True, tokenize=False)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=512, temperature=0.6, top_p=0.95)
print(tok.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

ChatML emits an empty think block before the answer; strip up to </think> for the reply alone. Tool schemas go in <tools>, results return as tool_response. Temperature 0.6 / top_p 0.95 is a safe default; lower values give stricter JSON.

FAQ

What is MiniCPM5-2B-Supertool-Uncensored?

A decensored build of saidutta69/MiniCPM5-2B-Supertool, which is itself a QLoRA tool-calling fine-tune of openbmb/MiniCPM5-2B trained on Claude-Code-style agent traces. Heretic 2.1.0 removed a rank-100 refusal subspace from layers 19-35. It is the same weights with refusal directions subtracted, not a new fine-tune.

Is it really uncensored?

Partly, and the number is honest: refusals fall from 96/100 to 12/100 at KL 0.0494. About one prompt in eight is still declined. This is one of the tightest edits in the RACER IS OP collection, not the most compliant one.

How do I run it locally?

With transformers, as in Quickstart. There are no GGUF files yet. The fp16 checkpoint is 5.03 GB, so it fits a 6 GB GPU with device_map="auto" or runs on CPU.

Why abliteration instead of fine-tuning?

Fine-tuning a helpful persona fights refusal training and degrades the terse, format-strict output a tool-caller needs. Abliteration removes only the weight directions responsible for refusal. See the Heretic repo and the abliteration writeup.

Trial 39 of 300 (seed 42) of a Heretic 2.1.0 ARA run on base checkpoint ef27362. ARA learns a low-rank update per edited module instead of one rank-1 direction, which is how this run stayed under a tenth of the KL earlier attempts needed.

ParameterValue
start_layer_index19
end_layer_index35
preserve_good_behavior_weight0.7948
steer_bad_behavior_weight0.0102
overcorrect_relative_weight0.7500
neighbor_count8
lora_rank100
n_optimization_steps5
max_iter20
preserve_row_magnitudestrue

Layers 19-35 of 42 are edited. Everything below layer 19, including the tokenizer-facing front of the network, is untouched, which is the main reason the tool-call format survived. The edit targets attn.o_proj and mlp.down_proj. The reproduce/ directory carries config.toml, requirements.txt, the Optuna journal and SHA-256 sums, so the checkpoint can be regenerated with heretic --reproduce reproduce/reproduce.json.

MetricThis modelBase (MiniCPM5-2B-Supertool)
KL divergence0.04940 (by definition)
Refusals12/10096/100

KL 0.0494 is a conservative edit, tighter than most of the RACER IS OP collection, and it still clears 84 of the base's 96 refusals. It does not reach zero: about one prompt in eight is still declined, so this is a less-aligned model, not an unconditional one.

Capability check (lm-eval, merged checkpoint):

BenchmarkMetricThis modelBase
PIQAacc0.6986 (stderr 0.0107)0.7111 (0.0106)
PIQAacc_norm0.7084 (stderr 0.0106)0.7122 (0.0106)
MMLUacc0.5471 (stderr 0.0040)0.5598 (0.0040)

PIQA is inside one standard error on acc_norm and about 1.2 sigma on acc, so there is no measurable regression. MMLU's -1.27pp is roughly three standard errors: a real but small loss of general knowledge accuracy. 14,042 questions, same harness for both columns.

Not measured: function-calling accuracy, JSON validity and tool-name selection after the edit. The 12/100 figure comes from Heretic's BERT refusal classifier on mlabonne/harmful_behaviors; it says nothing about well-formed tool calls.

Inherited from the base, pre-abliteration. From the held-out saidutta69/fc-eval-benchmark split: 89 unseen APIs, 150 tasks, greedy decoding, fp16. These were measured before the edit and were not re-run on this checkpoint.

MetricMiniCPM5-2B baseSupertool (pre-edit)
Task success, exact call49.3%77.3%
Tool name correct50.0%90.0%
Argument keys correct50.0%87.3%
Format failures50.0%8.7%

An in-domain check on 120 held-out validation examples gave 54.2% tool-name accuracy and 1.1246 completion loss for Supertool. The abliteration changes refusal behaviour, not the tool schema.

FileSize
model-00001-of-00002.safetensors4.99 GB
model-00002-of-00002.safetensors0.04 GB

fp16, 2,516,756,480 params (2.52B), LlamaForCausalLM, 42 layers, hidden 2048 / intermediate 6144, 16 attention heads / 2 KV heads (head_dim 128), 131,072 context, vocab 130,560, untied embeddings.

GGUF quantizations are not published yet. When they land they will follow the <repo>-Q4_K_M.gguf naming and appear here; until then use the transformers path above.

Recorded in reproduce/reproduce.json: NVIDIA GeForce RTX 3090 (23.56 GB VRAM), Linux 6.17.0-23-generic, CUDA 13.2 / driver 580.142, AMD Ryzen 9 5900X 12-Core, PyTorch 2.15.0+cu132, Heretic 2.1.0. Heretic notes KL divergence and refusal numbers can vary slightly with hardware and library versions.

Responsible use

Refusal suppression is deliberate: this model will comply with requests the base model would decline, including some it should not. There is no safety filtering layered on top, so do not put it behind an unmoderated public endpoint serving third parties. It also inherits the base model's tool-calling failure modes: a confident-looking call can still have the wrong tool name or arguments.

Made with ❤️ by RACER IS OP (saidutta69) - follow for more uncensored models

Cite

@misc{saidutta69_2026_supertool_uncensored,
  author = {RACER IS OP (saidutta69)},
  title = {MiniCPM5-2B-Supertool-Uncensored: A decensored tool-calling 2.52B model},
  year = {2026},
  url = {https://huggingface.co/saidutta69/MiniCPM5-2B-Supertool-Uncensored}
}
  • 2026-11-17: initial release with abliteration parameters, refusal and capability numbers.
  • 2026-11-20: metadata and card refresh for discoverability. No model weights changed.

Apache-2.0, inherited from the base chain. Neither the base repo nor this one ships a LICENSE file, so the canonical text at apache.org is the reference. Check upstream MiniCPM5 terms before commercial deployment.

Related

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей