/ Модель

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

Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-E2B
Опубликована
23 апр 2026

gemma-4-E2B-Alignment-Study

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

Экспериментальная версия Gemma 4 E2B с ослабленным механизмом отказа для изучения выравнивания и Representation Engineering.

1 163скачиваний за 30 дней4лайкавеса обновлены6 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Kasper-Bankler/Gemma 4 E2B Alignment Study — экспериментальная текстовая модель на основе google/gemma-4-E2B-it, созданная автором карточки для изучения механизмов выравнивания LLM. Метод Arbitrary-Rank Ablation в фреймворке Heretic применён к матрицам модели, чтобы выделить и ослабить направление отказа без дообучения на альтернативных данных. Автор выбрал вариант Trial 71 с KL-дивергенцией 0,165, стремясь изменить поведение отказов и сохранить основные способности модели.

Модель предназначена для академического изучения Representation Engineering и анализа влияния механизмов отказа на ответы, рассуждения и техническую лексику. Это плотная модель семейства Gemma 4 с примерно 2 млрд параметров по названию базовой модели; поддерживает диалог на английском и генерирует текст. В репозитории есть веса Safetensors и GGUF; README описывает GGUF как f16-квантованный вариант.

Автор предупреждает, что защитные ограничения намеренно ослаблены, поэтому модель может выдавать опасный, оскорбительный или откровенный контент. Она склонна к семантическому дрейфу и галлюцинациям, особенно за пределами основных знаний, и не подходит для медицинских, юридических или финансовых советов. Лицензия — Apache-2.0.

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

  • изучение механизмов отказа языковых моделей
  • исследование влияния абляции на ответы LLM
  • сравнение поведения модели до и после изменения направления отказа
  • воспроизводимые эксперименты с Representation Engineering

Ограничения

Защитные ограничения намеренно ослаблены, поэтому модель может генерировать вредный или откровенный контент. Автор отмечает склонность к галлюцинациям и семантическому дрейфу; модель не предназначена для медицинских, юридических или финансовых советов.

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

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

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

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

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

Открыть на Hugging Face

Gemma 4 E2B - Alignment Study

This model is a Representation Engineering study on google/gemma-4-E2B-it, achieved through Arbitrary-Rank Ablation (ARA) to mathematically isolate and remove the model's refusal direction.

🔬 Ablation Methodology

The model's alignment vectors were modified using the Heretic framework. Instead of fine-tuning the model on alternative data, the internal "refusal vector" was mathematically located and ablated at the matrix level.

  • Technique: Arbitrary-Rank Ablation (ARA)
  • Trial Selected: Trial 71
  • KL Divergence: 0.1650

Why Trial 71? During comparative analysis, higher ablation (e.g., Trial 129 / KL: 0.3542) successfully removed all refusal behaviors but resulted in severe semantic drift and performance degradation (e.g., hallucinating when asked technical questions). Trial 71 was selected because a KL divergence of 0.1650 represents an optimal threshold. It successfully alters the safety alignment while preserving the model's core logic, spatial reasoning, and technical vocabulary.

💻 Hardware & Build Details

This model proves that advanced Representation Engineering can be done entirely locally on consumer hardware.

  • Hardware: NVIDIA RTX 3080 (10GB VRAM)
  • Processing Time: 6 hours, 13 minutes
  • Framework: Heretic (Experimental ARA Branch / PR #211)
  • VRAM Optimization: To prevent Out-Of-Memory (OOM) crashes on a 10GB GPU during the heavy matrix calculations, a community-discovered VRAM trick was utilized. Specifically, we removed mlp.down_proj from the target_components in the ablation configuration. This, combined with 4-bit quantization and targeted 16-bit VRAM mapping, allowed the heavy matrix math to fit cleanly within the 10GB VRAM ceiling.

📊 Benchmark Findings

The tests were run zero-shot using a 500-question sample to measure logic, reasoning, and susceptibility to false premises.

Benchmark (Task)Base Gemma 4 E2BAblated Gemma 4 (Trial 71)Difference
ARC-Easy (Logic & Science)38.60%40.40%+ 1.80%
HellaSwag (Common Sense)43.60%44.00%+ 0.40%
TruthfulQA (MC2) (Adversarial)53.11%50.81%- 2.30%

📁 Files Provided

Both the raw "source code" and the compiled executable are provided for reproducibility:

  • model.safetensors & config files (For native Python/Transformers integration or further fine-tuning).
  • gemma-4-e2b-uncensored.gguf (f16 quantized, ready for Ollama, LM Studio, etc.).

⚠️ Disclaimer and Terms of Use

1. Academic Research Context This model was developed exclusively as a university research project to study Representation Engineering, Arbitrary-Rank Ablation (ARA), and the mechanical nature of Large Language Model alignment. It is intended strictly for academic, educational, and research purposes.

2. Removed Safety Guardrails Because this model has been intentionally abliterated (uncensored) at the matrix level, it no longer adheres to standard safety guidelines. It can and will generate content that may be considered offensive, harmful, explicit, or dangerous if prompted to do so.

3. No Liability for Misuse By downloading or interacting with this model, you assume full responsibility for how you use it. The creator of this model assume absolutely no liability for any consequences, damages, or harm resulting from the use of this model or the content it generates. You are strictly prohibited from using this model to facilitate illegal acts, cyberattacks, or real-world harm.

4. Factual Inaccuracy and Hallucinations This is a small 2-Billion parameter model. Without its standard RLHF training, it is highly prone to severe semantic drift and aggressive hallucinations when pushed outside its core knowledge domains. Do not rely on this model for factual accuracy, and under no circumstances should it be used for medical, legal, or financial advice.

Use at your own risk.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей