/ Модель

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

Размер весов
51,6 ГБ
Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-26B-A4B-it
Библиотека
transformers
Опубликована
12 ноя 2026

gemma-4-26B-A4B-agentic

Изображение и текст → текст5 профессий

Дообученная Gemma 4 для длительных агентных задач, ориентированная на программирование и снижение повторяющихся циклов рассуждений и вызовов инструментов.

2 442скачиваний за 30 дней0лайковвеса обновлены20 ноя 2026

Бенчмарки

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

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

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

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

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

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

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

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

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

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

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

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

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

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

ManniX-ITA Gemma-4-26B-A4B-agentic — дообученная на базе google/gemma-4-26B-A4B-it мультимодальная модель семейства Gemma 4 от ManniX-ITA. Это BF16 recovery SFT на собственных ответах базовой модели, отфильтрованных так, чтобы обученные ходы не зацикливались. Модель сохраняет архитектуру, токенизатор, шаблон чата и компонент обработки изображений базовой версии; поддерживает диалоги, анализ изображений и вызов инструментов.

Модель предназначена прежде всего для длительных агентных задач, особенно для программирования и исправления кода. В описанном автором сравнении на задаче ремонта HTML-игры 12 из 20 запусков завершились за 30 минут против 3 из 20 у базовой модели; это результат одного теста, а не универсальная оценка качества. Доступны веса Safetensors и варианты GGUF, включая квантизованные сборки в отдельном репозитории. Лицензия — Apache-2.0.

Основные ограничения: опубликованная оценка касается агентного программирования, полноценного набора общих бенчмарков для этого чекпойнта нет. В тесте 8 из 20 запусков не уложились в 30 минут; зацикливания стали реже, но не исчезли. Модель обучалась преимущественно на англоязычных агентных, кодовых и инструкционных данных; зрительный компонент не дообучался.

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

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

Ограничения

Оценка в карточке ограничена одним тестом агентного программирования, а общий набор бенчмарков для чекпойнта не представлен. Зацикливания всё ещё возможны; обучение было преимущественно англоязычным, а компонент обработки изображений не дообучался.

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

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

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

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

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

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

Открыть на Hugging Face

Gemma-4-26B-A4B agentic

google/gemma-4-26B-A4B-it, trained to stop looping on long agentic tasks. Same architecture, same tokenizer and chat template, same vision tower (bit-identical), same voice: a BF16 recovery SFT on the model's own regenerated answers, filtered so that no trained turn loops.

GGUF (F16, Q8_0, Q6_K, Q4_K_M, imatrix; built with omnimergekit): ManniX-ITA/gemma-4-26B-A4B-agentic-GGUF.

Ollama: mannix/gemma4-26b-agentic (Q4_K_M, Q6_K, Q8_0; plain and vision- tags, plus mtp- tags for xOllama with the Gemma-4 assistant drafter and a thinking budget; the head-to-head sampler is preset).

The problem it fixes

Stock Gemma-4-26B-A4B-it is a strong agent until a task gets long. Then it can fall into a loop — the same paragraph of reasoning, or the same tool call, again and again until the context or the wall clock runs out. This model was trained to keep working instead.

Measured head-to-head against the base model on a long agentic repair task, 20 runs each with identical settings: 12 of 20 runs finished within the 30-minute budget against 3 of 20 for the base model, with reasoning loops cut about 6× less often. Details below.

Head-to-head with the base model

base gemma-4-26B-A4B-itthis model
runs finished within the 30-minute limit (20 each)3 / 20 (15 %)12 / 20 (60 %)
95 % interval (Wilson)5 %–36 %39 %–78 %
passed within 10 / 20 / 30 min0 % / 15 % / 15 %25 % / 50 % / 60 %
reasoning-loop cuts per run (median)8.01.0
reasoning-loop cuts per model-hour18.12.9

Pass/fail difference: Fisher exact two-sided p = 0.0079.

What the pass rate means. It is not an absolute success rate: it is the share of runs that finished the repair within a fixed 30-minute budget. The test is built to measure what the fine-tune changes in a definite amount of time — how much of the budget goes to loops, how quickly the model gets from a broken file to a working game. A timeout means "not done in 30 minutes", not "cannot do it". With more time both models would pass more often and the gap would likely narrow, but not by much: in extended manual testing of the base model and of its pruned 98-expert variants (the v7-coder and v9-agentic recipes), a run that does not converge quickly becomes steadily more likely to loop, so the base model either needs one to two hours or more to pass, or ends in massive loops. Anti-repetition sampling hides the loops but costs the model much of its effectiveness and its ability to converge. The fine-tune targets exactly this — less looping, faster convergence — and the data below shows it achieved. With only presence_penalty 0.025 (no other anti-repetition setting) it is virtually loop-free and completes the task in an acceptable time even on runs where it does not converge quickly. The pass curve below shows how the rate builds up minute by minute.

Setup. One task, run 20 times per model: repair a broken HTML game (manic_miner, a syntax error plus logic bugs). The runs are orchestrated and scored by automaticum, a test harness for coding agents whose oracle runs the game itself. The agent is the Cerebriline SDK 4.100.277 (VS Code host profile, LSP diagnostics after every edit and the check_file / ask_lsp tools on, browser off) until the game's own oracle reports that it loads, reaches play and passes 23 logic checks. 30 minutes wall clock per run, one run at a time per model. Both models as BF16 GGUF on the same llama.cpp build, each on its own RTX PRO 6000 Blackwell (96 GB), f16 KV cache, Gemma-4 assistant drafter for speculative decoding, thinking on (effort high), temperature 0.8 / top_p 0.95 / top_k 64 / min_p 0 / presence_penalty 0.025. The two configurations differ only in the model file: harness, task, sampler, server build, chat template and guards are identical (checked from each run's recorded provenance). The harness guards were on for both: a reasoning block that repeats itself is cut and the request retried, a repeated identical tool call draws warnings, then a stop. Arms, server launchers, analysis scripts, the full report and per-run data: omk/models/gemma-4-26b-a4b/sft11/eval/.

Outcome

basethis model
passed312
failed: game never starts (syntax / runtime error left in the file)176
failed: game starts, some logic checks still failing02 (17/23, 21/23 checks)
runs ended by the harness for repeating a tool call11
runs that claimed success but failed00
time to the first passing game check, median (passed runs)16.9 min11.5 min

Share of all runs passed by minute t:

51015202530
base0 %0 %0 %15 %15 %15 %
this model5 %25 %40 %50 %55 %60 %

Loops and guards

Medians per run, all 20 + 20 runs; p = Mann–Whitney two-sided.

basethis modelp
reasoning blocks cut for repeating themselves8.01.0< 0.001
guard interventions, all kinds9.54.00.001
model requests cut or failed9.01.0< 0.001
reasoning blocks with a phrase repeated ≥ 10×2.01.00.03
worst repeat count in any reasoning block12100.05
repeated-tool-call warnings0.51.50.12
runs with no reasoning-loop cut0 / 209 / 20

Per model-hour (sum over all runs ÷ total model time): reasoning-loop cuts 18.1 → 2.9, all guard interventions 24.8 → 17.7, repeated-tool-call warnings 6.1 → 9.9.

Time, length and effort

basethis modelp
wall time per run (min, 30 = timeout)30.2210.05
longest single model turn (s)2131080.001
median model turn (s)229.10.006
reasoning per run (k characters)2262300.95
longest reasoning block (k characters)38300.005
generated tokens per run (k)1211280.56
tokens written into tool-call arguments (k)12.122.60.17
generated tokens per tool call3,8662,100< 0.001
peak context (k tokens)841100.26

Same restricted to failed runs (all or nearly all of the 30 minutes used): reasoning 232k vs 416k characters, tool calls 24 vs 69, reasoning-loop cuts 9.0 vs 1.0.

Behaviour

basethis modelp
tool calls per run2850< 0.001
tool calls per model-minute0.93.3< 0.001
edits applied510< 0.001
edits refused by the tool370.004
edits not followed by a check460.08
game runs (run_game)25< 0.001
read_files calls8130.006
LSP: edits checked automatically818< 0.001
LSP: check_file calls100.58
LSP: ask_lsp calls000.35
runs that restored the original file and started over7 / 2012 / 20

What changes. Total reasoning per run is about the same (226k vs 230k characters); how it is spent is not. The base model spends 3,866 generated tokens per tool call against 2,100, its longest turn runs 213 s against 108 s, and its reasoning repeats itself until the guard cuts it (8.0 cuts per run against 1.0). It makes 0.9 tool calls per model-minute against 3.3 and runs the game 2 times per run against 5, so it sees far less often what is still broken. All 17 of its failed runs ended with the game not even loading; 2 of this model's 8 failures got the game running and passing 17/23, 21/23 logic checks.

Known weaknesses

  • Repeating a refused tool call. When an edit is refused, this model is more likely than the base model to send the same call again: more repeated-tool-call warnings in failed runs (median: base 0.0, this model 6.0; p = 0.010). Runs ended by the harness for repeating a call: base 1, this model 1.
  • Degenerate tool-call bursts. In 2 of 20 runs this model emitted the same refused editor call 310 and 320 times in a single response, until the output-token cap. Both began with an edit whose start_line argument was dropped, so the tool refused it (the base model hit that refusal in 7 runs, this model in 7); the base model never answered it with a burst. Worth capping tool calls per response when running it in an agent loop.
  • Serving. This model's server generated 168 tok/s against 176 for the base model's (4 % slower on the same build and GPU model), which if anything works against it under a wall-clock limit. Speculative-draft acceptance was the same for both (90 % vs 89 %), so it is not the drafter; this model also worked at longer contexts (median peak 110k vs 84k tokens), which slows decoding.
  • Scope. One task, 20 runs per model, one harness. The intervals above are wide; treat the size of the gap as approximate, its direction as solid.

Earlier gates

Before the head-to-head, the same task ran 10 times per checkpoint (automaticum, Cerebriline SDK 4.100.266) at temperature 1.0 (top_p 0.95, top_k 64, min_p 0), 30 minutes per run:

basestep 400step 800final (this model)
runs finished within 30 min1 / 104 / 105 / 105 / 10
loops per model-hour (guard cuts + loop blocks)9.29.73.12.0

On SDK 4.100.276 with the recommended sampler, 7 of 8 finished runs passed. In a VS Code agent session on the same server it fixed the game in 3 of 3 sessions in 6–10 minutes, with no loops seen.

How it was trained

Built with omk-model-optimizer in its BF16 recovery mode (guide): the model's own bf16 weights are trained directly (no quantizer, no LoRA, no fp32 master copy), and the export writes the source checkpoint back with only the trained tensors replaced.

Data — mostly on-policy. Prompts, tool declarations and recorded tool outputs come from public SFT sets (9 NVIDIA Nemotron sets and interstellarninja/hermes_reasoning_tool_use). Every trained assistant turn was regenerated by the untouched Gemma-4-26B-A4B-it itself, turn by turn, in its own chat template with thinking on, and kept only when a validator passed it: no reasoning loop, no foreign tokens, a tool call equivalent to the recorded one (so the recorded tool output still answers it), the right final answer where a reference exists. One source is regenerated by the bigger sibling Gemma-4-31B-it (Kimi-K2.5 agent tasks from lambda/hermes-agent-reasoning-traces). The model learns to finish tasks in its own style rather than imitating another model's.

corpus
sourcesagentic, opencode, hermes, ifchat v1/v2, kimi31b (Gemma-4-31B), swe, multilingual, science, math, competitive programming
size16,296 training conversations → 4,217 packed windows of 16,384 tokens (11.6 M scored tokens), one epoch
held out522 conversations (per-source CE every 200 steps) + 27 agentic windows scored against Gemma-4-31B
publishedManniX-ITA/gemma-4-26B-A4B-agentic-sft (conversations + the exact training windows) · ManniX-ITA/hermes-agent-kimi-traces-gemma4-31b

Training.

trainedattention, per-layer dense MLP, router and all routed experts: 295 tensors, 24.5 B parameters (embedding, norms, vision tower frozen)
lossnext-token cross-entropy on the regenerated assistant tokens only (reasoning, prose, tool calls, stop token); prompts, user turns and tool outputs masked; each packed conversation attends only to itself
schedule2,108 steps × batch 2 × 16,384 tokens, peak LR 4.74e-6 (10-step warmup, cosine), momentum-free Adafactor with stochastic-rounding bf16 updates
hardwareone RTX PRO 6000 Blackwell (96 GB), 74 GiB peak, 25.5 h
resultheld-out CE on the corpus 0.281 → 0.263; agreement with Gemma-4-31B on held-out agentic windows unchanged (top-1 0.930 → 0.929)

Full recipe, every script as run, corpus provenance (upstream revisions, sha256 of every file) and reproduce commands: omk/models/gemma-4-26b-a4b/ in omk-model-optimizer. The three training modes (QAD to GGUF, ternary recovery, BF16 recovery) are documented in omk/docs/.

Use

Exactly like google/gemma-4-26B-A4B-it (same chat_template.jinja, processor and generation config; thinking via enable_thinking).

Recommended sampler for agentic work (the setting used for the head-to-head): temperature 0.8, top_p 0.95, top_k 64, min_p 0, presence_penalty 0.025, no repetition penalty.

from transformers import AutoProcessor, AutoModelForMultimodalLM
model_id = "ManniX-ITA/gemma-4-26B-A4B-agentic"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(model_id, dtype="bfloat16", device_map="auto")

vLLM: vllm serve ManniX-ITA/gemma-4-26B-A4B-agentic --dtype bfloat16 --enforce-eager --max-num-batched-tokens 8192 --reasoning-parser gemma4 --default-chat-template-kwargs '{"enable_thinking": true}' — the settings the training corpus was generated with on vLLM 0.20.2 (--enforce-eager avoids a Gemma-4 MoE routing fault under CUDA-graph capture seen on that version). Tool calls were parsed there with a hardened Gemma-4 parser plugin, published in the recipe as sft11/corpus/sft2/gemma4_safe_tool_parser.py (--enable-auto-tool-choice --tool-call-parser gemma4_safe --tool-parser-plugin gemma4_safe_tool_parser.py).

Limitations

  • Evaluated on agentic coding behaviour (the head-to-head above) and held-out CE; no general benchmark suite has been run on this checkpoint yet. 8 of 20 head-to-head runs still did not finish within 30 minutes: reasoning loops are much rarer, not gone, and repeated refused tool calls are a known failure mode (see Known weaknesses).
  • Trained on English-dominant agentic, coding and instruction-following data, with a small multilingual share; vision was not trained (the tower is the base model's, byte for byte).

License

Apache-2.0, as the base model. Training data licenses: see the corpus dataset card.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma4ForConditionalGeneration
Ревизия весов
3164ec3

0 моделей