/ Модель

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

Размер весов
23,9 ГБ
Лицензия
Gemma
Архитектура
gemma4_unified · dense
Опубликована
26 июн 2026

gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated

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

Дообученная Gemma-4 12B Coder с абляцией отказов для генерации кода и агентной работы с инструментами.

139скачиваний за 30 дней0лайковвеса обновлены26 июн 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Это дообученная и затем модифицированная абляцией отказов версия Gemma-4 12B Coder, опубликованная tpls. Модель предназначена для генерации кода и агентных сценариев с вызовом инструментов. Веса доступны в формате safetensors; README также указывает на отдельные готовые GGUF-квантизации. Архитектура — плотная Gemma4 Unified. Размер 12 млрд параметров указан в названии модели.

Модель обучена методом SFT с QLoRA для работы с нативной разметкой вызова инструментов Gemma-4, после чего из весов удаляли направление отказа. Для обработки вызовов инструментов в llama.cpp требуется серверный shim: без него парсер может не распознать нативную разметку. Автор сообщает о прохождении 8 тестовых сценариев с shim, но это ограниченная выборка, а не общая оценка качества. Поддерживаемый язык карточки — английский.

Лицензия — Gemma. Ответы и аргументы инструментов могут быть ошибочными или вымышленными, поэтому их следует проверять до выполнения. Из-за существенно ослабленных защитных механизмов модель не подходит для систем, где требуется поведение отказа.

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

  • генерация и дополнение кода
  • создание агентных сценариев с вызовом инструментов
  • подготовка модели для дальнейшего дообучения
  • объединение весов с другими моделями
  • локальный запуск после выбора подходящей квантизации

Ограничения

Вызовы инструментов в llama.cpp требуют серверного shim для преобразования нативной разметки Gemma-4; без него парсер может их пропускать. Модель может выдавать неверные ответы, а абляция существенно ослабляет защитные отказы, поэтому аргументы инструментов нужно проверять.

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

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

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

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

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

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

Открыть на Hugging Face

Gemma-4 12B Coder — SFT v5 + abliterated (weights)

Uncensored gemma-4 12B coder weights (safetensors) — for fine-tuning, merging, or quantizing.

Ready-to-serve GGUF quants: tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated-GGUF.

⚠️ Tool-calling needs the recovery shim. The model emits gemma-4's native tool markup, which llama.cpp --jinja under-parses — wrap your endpoint with the tool-shim (see Tool-calling below) to get standard tool_calls.

💡 Pick this for the best of both: SFT v5's tool-calling and an uncensored model — our KL-guarded abliteration applied on top of SFT v5 (no capability loss).

At a glance

TypeModel weights (safetensors)
Techniquessft-qlora → abliteration
Tool-calling✅ 100% gate pass (recovery-shim path)
Status✅ Active / supported
UseGGUF quants: tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated-GGUF

Use it — GGUF quantizations

Ready-to-serve GGUF quants live at tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated-GGUF (llama.cpp / Ollama one-liners on that card). These are the safetensors weights, for fine-tuning / merging / quantizing.

Tool-calling

Tool-calling works — but llama.cpp --jinja doesn't recognise gemma-4's native tool-call markup, so the bare parser under-reports calls. The model is fine; the parser is blind to the format. Recover standard tool_calls with a small serve-side post-processor (no weight change, no latency beyond a regex scan).

Ready-to-use → tpls/gemma4-tool-shim — a drop-in callback for OpenAI-compatible proxies, a standalone (dependency-free) example, and the pure parser, all Apache-2.0, with the full recovery algorithm documented. Point your OpenAI-compatible endpoint through it.

You send tools the usual OpenAI way (tools=[…]); the model emits native markup; the shim turns it into a standard tool_calls object:

# model completion (raw):
<|tool_call>get_weather{"city": "Paris", "units": "celsius"}
// after the shim:
{"finish_reason": "tool_calls",
 "message": {"role": "assistant", "content": null,
   "tool_calls": [{"id": "call_0", "type": "function",
     "function": {"name": "get_weather", "arguments": "{\"city\": \"Paris\", \"units\": \"celsius\"}"}}]}}

Tool-calling gate

tool_eval.sh (8 hand-picked cases: 7 tool + 1 abstain) — Q4_K_M served on llama.cpp --jinja, TOOLS_IN_PROMPT=1, temp 0; SHIM = prod gemma_tool_parse path

The rows are this model under two parse paths (raw and shim); the shim path is how it's served in production.

Measured onPass rate
this model — raw (--jinja)0.125
this model — shim (prod path)1.000

Intended use & limitations

Built for code generation and agentic tool use; serve locally via llama.cpp / Ollama, or use as a base to fine-tune / merge / quantize. Outputs can be wrong or fabricated — validate tool arguments before executing, and keep a human in the loop for anything consequential.

⚠️ Uncensored. For this variant the refusal direction has been ablated from the weights — safety guardrails are substantially removed and it will attempt requests a stock model would refuse. You are responsible for what you generate and how it's used; not suitable where refusal behaviour is itself a safety requirement.

Where this sits in the family


Provenance & reproduction

How this model was built — technique chain, training mix, and the exact knobs/pins, so the result is reproducible without any of our tooling.

Mechanics applied

StepTechniqueWhat it doesProvenance
1sft-qloraQLoRA supervised fine-tune to keep + improve native tool-calling—
2abliterationrefusal-direction ablation edits the weights to remove refusalstpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5

1. sft-qlora

  • tools_mode: mixed (xLAM schemas folded; conditional taught)

2. abliteration

weight ablation degrades the canonical <|tool_call> token — the model tends to leak calls as text markup, so the native llama.cpp parser may not fire. See the tool-call recovery note below to get structured calls back.

Training data, hyperparameters & environment

The supervised fine-tune (sft-qlora step above) is inherited from Gemma-4 12B Coder — SFT v5 (weights) — see that card for the full training mix, exact hyperparameters, and pinned environment. The remaining step(s) above are what this model adds on top; their measured effect is below.

Other measured metrics

MetricValue
kl_divergence0.001
n_trials100.000
refusals3.000

Part of the Gemma-4 12B Coder — active collection.

Something not right, or a request? Open a discussion — happy to help.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma4UnifiedForConditionalGeneration
Ревизия весов
0b752c7

0 моделей