/ Модель

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

Лицензия
Gemma
Базовая модель
gemma-4-E4B-it
Опубликована
16 апр 2026

gemma-4-E4B-it-reduced-prompt-injection

Генерация текстаТекст → текст

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

0скачиваний за 30 дней6лайковвеса обновлены24 мая 2026

Бенчмарки

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

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

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

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

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

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

Hirundo Hardened Gemma 4 E4B-IT — дообученная Hirundo версия Google Gemma 4 E4B Instruct, в которой с помощью машинного unlearning изменены веса для снижения восприимчивости к prompt injection. Модель предназначена для диалогов и генерации текста в приложениях, где она обрабатывает недоверенные документы или другой пользовательский контент. По данным README, на тесте Meta PurpleLlama частота успешных атак снизилась с 18,73% до 4,78%, а средний сдвиг на шести тестах рассуждений, программирования и знаний составил ±0,40 процентного пункта.

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

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

  • диалоговый помощник, читающий недоверенные документы
  • ответы на вопросы по текстам с потенциальными prompt injection-атаками
  • генерация текста с повышенной устойчивостью к внедрению инструкций
  • тестирование устойчивости LLM к prompt injection

Ограничения

Устойчивость не означает полной защиты от prompt injection; приведённые показатели относятся к тесту PurpleLlama. Английский — единственный язык, указанный в метаданных карточки.

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

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

Открыть на Hugging Face

Hirundo Hardened Gemma 4 E4B-IT

A prompt-injection-hardened release of Google's gemma-4-E4B-it, produced with Hirundo's machine unlearning engine. The model behaves identically to the base model on its core capabilities, but is 74.5% less likely to follow injected instructions on Meta's PurpleLlama benchmark.

TL;DR

MetricPretrainedHardenedChange
Prompt Injection Attack Success Rate (PurpleLlama)18.73%4.78%−74.5% relative
Average utility delta across 6 reasoning/coding/knowledge benchmarks——±0.40 pp (within eval noise)

Why Unlearning, Not Guardrails

The standard playbook for prompt injection is to bolt on classifiers, tighten system prompts, or do another round of safety SFT. Each adds latency, brittleness, or capability tax — and none of them changes the underlying disposition of the model.

Hirundo's approach is different: we surgically modify the weights to remove the targeted behavior. The result is a drop-in replacement model that:

  • Has no inference-time overhead — no extra classifier in the path
  • Preserves utility — measurable across reasoning, coding, instruction-following, and knowledge benchmarks (see below)
  • Is more efficient than SFT or RLHF by orders of magnitude — no full retraining run, no preference data collection
  • Is verifiable in the weights themselves, not in a wrapper that can be stripped

Detailed Results

Prompt Injection Robustness — PurpleLlama

Attack Success Rate (ASR), aggregated across all attack categories in Meta's PurpleLlama prompt injection suite:

BenchmarkPretrained ASRHardened ASRRelative Reduction
All categories18.73%4.78%74.47%

Utility Preservation — Nemo-Skills

Evaluated with NVIDIA's Nemo-Skills suite. All shifts are within typical run-to-run eval noise.

BenchmarkPretrainedHardenedΔ (pp)
AIME2510.8310.00−0.83
GPQA53.2854.04+0.76
IFBENCH35.9635.70−0.26
LiveCodeBench52.5852.38−0.20
MMLU-Pro70.1369.77−0.36
SciCode8.448.440.00

Mean absolute delta: 0.40 pp. GPQA improves; the rest move within noise.

Usage

Drop-in compatible with the base model — no prompt or interface changes required.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "hirundo-io/gemma-4-E4B-it-reduced-prompt-injection"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)

To apply Hirundo's unlearning to your own model, or to evaluate models for undesirable behaviors, use our Python packages:

  • hirundo — Hirundo platform SDK for LLM behavior unlearning and dataset QA
  • llm-behavior-eval — Evaluate LLMs for undesirable behaviors such as bias and prompt injection susceptibility
pip install hirundo
pip install llm-behavior-eval

About Hirundo

Hirundo is the machine unlearning platform for production AI. We perform surgical, weight-level removal of unwanted model behaviors — prompt injection susceptibility, bias, PII memorization, hallucination patterns, and more — without retraining, without guardrails, and without measurable utility loss.

Hirundo works across all major open model families — including Gemma, Llama, Mistral, Qwen, NVIDIA Nemotron, IBM Granite, and others — at sizes ranging from sub-billion-parameter SLMs to frontier-scale open weights.

If you want this done on your own model, get in touch: hirundo.io.

License

Inherits the Gemma Terms of Use from the base model. © Google for the base weights; Hirundo for the unlearning modification.

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

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

GPU в ailist

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

Нельзя запустить

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
42dee2f

0 моделей