/ Модель

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

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

gemma-coder

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

QLoRA-дообучение Gemma 4 для генерации кода и экспериментальной поддержки безопасного кодирования и анализа уязвимостей.

62скачиваний за 30 дней0лайковвеса обновлены11 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

gemma-coder — дообученная методом QLoRA модель для генерации кода на основе google/gemma-4-26B-A4B-it. Она предназначена для работы в агентной среде, где написанный код запускается и проверяется в песочнице. В README заявлены генерация кода и проверка существующего кода на уязвимости; целевые области безопасности включают ошибки управления памятью, путаницу типов и нарушения границ привилегий.

Базовая модель относится к семейству Gemma 4 и использует архитектуру со смесью экспертов; в README указано около 4 млрд активных параметров. Дообучение выполнено на наборе bigcode/self-oss-instruct-sc2-exec-filter-50k. Модель ориентирована на код на Python, JavaScript/React, Go, Java и Swift; карточка также сообщает о шести языках, но не называет шестой. Текущая оценка кода описана как небольшая дымовая проверка на 16 задачах, а результаты оценки безопасности на ExploitGym ещё не опубликованы.

Модель может ошибаться или генерировать небезопасный код, поэтому результаты требуют проверки и тестирования человеком. README не рекомендует использовать её для создания эксплойтов, в системах безопасности с критическими последствиями или без проверки человеком. Указана лицензия Gemma.

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

  • черновая генерация кода для Python, JavaScript, Go, Java и Swift
  • проверка изменений кода на небезопасные шаблоны
  • поиск уязвимостей в исходном файле или diff
  • определение класса CWE и объяснение условия возникновения дефекта
  • предложение исправлений для найденных проблем в коде

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

gemma-coder — security-hardened coding model

gemma-coder is a QLoRA fine-tune of google/gemma-4-26B-A4B-it (a mixture-of-experts base with ~4B active parameters) that serves as the default agent model for the remote-agent-dev-platform. It runs inside a sandboxed agent that builds, executes, and tests everything it writes.

The base model already writes competent code across the six languages this agent uses. Correctness is no longer the frontier — safety is. So the model's objective has been re-scoped from "write working code" to write code that does not introduce vulnerabilities, and recognise the ones already in a codebase. The measuring stick for that objective is ExploitGym.

Why ExploitGym

ExploitGym (Berkeley RDI, with the Max Planck Institute for Security and Privacy, UC Santa Barbara, Arizona State, Anthropic, OpenAI, and Google; arXiv 2605.11086) is a benchmark of 898 real-world vulnerabilities across three domains:

DomainInstancesSource
Userspace C/C++ (FFmpeg, OpenSSL, …)520OSS-Fuzz / OSV
V8 JavaScript engine (Chromium)185real V8 bugs
Linux kernel193privilege-escalation tasks

Each task ships vulnerable source, a proof-of-vulnerability input, and a containerised runtime with toggleable mitigations (ASLR, stack canaries, the V8 sandbox, KASLR). ExploitGym measures whether an agent can turn a known bug into a working exploit — the hardest possible probe of whether a model truly understands a vulnerability rather than pattern-matching its surface.

We use it defensively. Every ExploitGym instance is a labelled, executable example of a real defect and exactly what it takes to trigger it. That is the richest possible curriculum for the two things this model is being aligned to do:

  1. Not emit those defect classes in the first place — the exact memory-safety, type-confusion, and privilege-boundary mistakes ExploitGym is built from become negative examples the model learns to avoid as it writes.
  2. Find them in existing code — given a diff or a file, locate the vulnerability, name its class (CWE), explain the trigger condition, and propose a fix, evaluated against ExploitGym's ground-truth bugs and its agent-as-a-judge verifier.

The benchmark is used strictly as an evaluation and alignment target for defensive security (secure generation, vulnerability detection, and code review) — not to produce exploits. ExploitGym's own runs used structured, gated security-research access; this model does not reproduce that.

Intended uses

  • Secure code generation across Python, JavaScript/React, Go, Java, and Swift, inside a sandbox that executes and tests every output.
  • Vulnerability detection and code review — flagging insecure patterns, naming the CWE class, and proposing fixes as it or a human writes.

Not intended for: producing exploits or offensive tooling; safety-critical systems; or running generated code unreviewed. This is a small, free-tier-trained model — treat every output as a draft a human must review and test.

Status & roadmap

  • Shipped today: the six-language coding QLoRA described under Training below, with the coding evaluation shown.
  • In progress: re-scoping toward the secure-coding + vulnerability-detection objective above, evaluated against ExploitGym. Security-hardened results are not yet established — this card states the objective, not a completed benchmark. It will be updated with ExploitGym-measured numbers once they exist; until then, no ExploitGym score should be attributed to this model.

Training

  • Method: QLoRA (Unsloth), 4-bit, LoRA rank 8 / alpha 16 on attention layers, lr 2e-5, max seq len 768, AdamW-8bit.
  • Compute: weekly 8-hour sessions on Kaggle's free dual-T4 GPUs, resumed across cycles.
  • Coding data: bigcode/self-oss-instruct-sc2-exec-filter-50k.

Evaluation

Current coding evaluation — multi-language sandboxed pass@1 over executable test suites (promotion threshold 80%):

Languagepass@1
Go4/4
Java4/4
JavaScript4/4
Python4/4
Swiftskipped (no toolchain in the eval image)

This is a small smoke-test suite (16 executed problems), not a broad coding benchmark — read it as a promotion gate, not a capability claim. The security objective above is evaluated separately against ExploitGym and is not yet reported.

Limitations

  • Small, free-tier-trained MoE fine-tune; it can produce incorrect or insecure code. Always review and test before use.
  • The security re-scoping is in progress; do not rely on this model for vulnerability detection until ExploitGym-measured results are published here.
  • ExploitGym is referenced as a defensive evaluation target only. Do not use this model to generate exploits.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей