/ Модель

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

Лицензия
Apache 2.0
Базовая модель
gemma-4-E2B-it-qat-q4_0-exact-gguf
Библиотека
gguf
Опубликована
22 окт 2026

gemma-4-E2B-it-lazy-capped-q4_0-gguf

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

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

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

Экспериментальная версия Gemma 4 E2B-it в GGUF Q4_0, дообученная для более коротких рассуждений при решении математических задач GSM8K.

Это неофициальная экспериментальная версия Gemma 4 E2B-it, самостоятельно подготовленная автором репозитория xbill9, без участия Google. Модель получена дообучением LoRA базовой GGUF-модели, после чего веса возвращены в формат Q4_0; она предназначена для генерации текста и диалогов с включённым режимом рассуждений.

Версия обучена завершать блок рассуждений примерно после 256 токенов. На тесте GSM8K она решила 1 170 из 1 319 задач и использовала в среднем 610,2 токена на правильный ответ; в сравнении с базовой моделью при ограничении рассуждений в 256 токенов точность была почти одинаковой, а расход токенов — на 6% ниже. В README указано, что проверялись только задачи GSM8K; другие сценарии не оценивались. Модель текстовая, запуск описан через llama.cpp. Лицензия — Apache-2.0.

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

  • решение математических текстовых задач GSM8K
  • ответы на арифметические задачи с пошаговым рассуждением
  • локальный запуск чат-модели через llama.cpp

Ограничения

Модель обучалась и оценивалась только на GSM8K; другие задачи не проверялись. Это экспериментальная неофициальная сборка, а тестирование описано для llama.cpp CUDA на одной видеокарте RTX 3050 OEM.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Gemma 4 E2B-it, trained to think in about 256 tokens, Q4_0 GGUF (unofficial, experimental)

This is an unofficial research build, made and published independently of Google. It is xbill9/gemma-4-E2B-it-qat-q4_0-exact-gguf after a LoRA fine-tune that teaches it to close its thinking block after about 256 tokens, written back into the same Q4_0 grid. Same size, same tensors, same llama-server flags.

It is part of lazy-gemma, a Hacktoberfest 2026 Week 3 entry.

Newer model: xbill9/gemma-4-E2B-it-lazy-capped64-q4_0-gguf, trained the same way on 64-capped samples, uses fewer tokens: 454.0 and 473.5 per correct answer across two training seeds, with 1,175 and 1,154 of 1,319 right.

Results

All 1,319 GSM8K test problems, greedy, thinking on, max_tokens 4096, llama.cpp b11696-3-g7182ef71e on an RTX 3050 OEM (8 GB). Correctness is graded by code.

ModelThinking capRightTokens per correct answer
Base GGUFnone1,187994.9
Base GGUFllama.cpp thinking_budget_tokens 2561,171648.9
This GGUFnone1,170610.2

Against the base with llama.cpp's 256 cap it gets the same accuracy, 1,170 against 1,171 (51 problems only this model gets right, 52 only the capped base; exact McNemar p = 1.000), at 6.0% fewer tokens per correct answer and with no cap set. Against the uncapped base it gets 17 fewer right (p = 0.100) at 38.7% fewer tokens. Adding the 256 cap to this model changes almost nothing: on the first 250 problems, 603.0 tokens per correct answer with the cap against 602.6 without.

Tokens include the thinking block, counted by the server with the model's tokenizer. Rows, logs and the comparison script are in the repo under benchmarks/runs/2026-10-22-rest-e2b-3050oem and benchmarks/runs/2026-10-21-qatlora-capped-e2b-3050oem.

How it was trained

  • Data: 4 samples on each of 1,000 GSM8K training problems (seed 0, T=1.0, top_p 0.95, top_k 64), with thinking capped at 256 tokens by llama.cpp's reasoning budget. 3,458 of 4,000 samples were right. Per problem, code kept the shortest right sample: 932 problems, 516.2 generated tokens on average. Train and test problems are disjoint.
  • Training: LoRA rank 16, alpha 32, on q/k/v/o/gate/up/down, lr 1e-3, batch 8, 2 epochs (234 steps), 1h54m on the RTX 3050 at a 4,880 MiB peak. The forward pass runs through the exact Q4_0 weights of the base GGUF (fake-quant of weight plus LoRA delta, straight-through gradient), so the adapter is learned for the 4-bit weights that ship.
  • Export: the trained weights are rounded back onto each block's Q4_0 grid and written into a copy of the base GGUF. 172,302,863 of 1,835,532,288 Q4_0 levels changed. Metadata, tokenizer and chat template are unchanged.

Running it

llama-server -m gemma-4-E2B-it-lazy-capped-q4_0.gguf -ngl 99 -fa 1 -c 8192 --jinja

Thinking is on by default; the reply's thinking lands in reasoning_content and the answer in content.

SHA-256: a2527137e332e9b80acee264dcc3aa596c2bd8cc16bfd8ed592ba99fd49f97db

Limitations

  • Trained and measured on GSM8K only. Other tasks were not measured.
  • Text only. Tested with llama.cpp CUDA on one RTX 3050 OEM.
  • Unofficial and experimental. Report problems on the GitHub repo, not to Google.

License and attribution

Gemma 4 is released by Google DeepMind under the Apache 2.0 license. This repository redistributes fine-tuned Gemma 4 weights under the same license. The base weights, tokenizer and chat template are Google DeepMind's; this build is not affiliated with or endorsed by Google. Training data: GSM8K (openai/grade-school-math).

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

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

GPU в ailist

llama.cpp

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

Подбираем GPU…

Ревизия весов
e84b4ce

0 моделей