/ Модель

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

Размер весов
15,9 ГБ
Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-E4B-it-qat-q4_0-unquantized
Библиотека
transformers
Опубликована
17 июн 2026

gemma-4-E4B-it-qat-heretic_decensored

Мультимодальная модель3 профессии

Экспериментальная модификация Gemma 4 E4B, предназначенная для изучения отказов модели, оценки поведения и red teaming.

40скачиваний за 30 дней6лайковвеса обновлены18 июн 2026

Бенчмарки

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

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

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

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

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

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

Gemma 4 E4B IT QAT Heretic Decensored — мультимодальная модель Google Gemma, изменённая автором репозитория prithivMLmods с помощью инструментария Heretic. Метод abliteration меняет связанные с отказами представления модели, чтобы уменьшить склонность к отказам и сохранить следование инструкциям, рассуждения и диалоговые возможности. В карточке приведены результаты проверки на 100 примерах: 40 отказов у этой версии против 99 у исходной модели; также указана KL-дивергенция 0,014.

Модель предназначена для исследований механизмов отказа и выравнивания, оценки поведения и red teaming. Базовая модель поддерживает работу с текстом, изображениями и аудио; сам репозиторий описывает модель как способную к рассуждениям и диалогу. Весы опубликованы в формате safetensors, для запуска указана библиотека Transformers. Лицензия — Apache-2.0.

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

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

  • изучение влияния abliteration на поведение языковой модели
  • сравнение склонности к отказам до и после модификации
  • оценка следования инструкциям и рассуждений
  • red teaming модели с ослабленными отказами
  • локальный запуск Gemma 4 в исследовательских экспериментах

Ограничения

Модель намеренно ослабляет встроенные механизмы отказа и может генерировать чувствительный или небезопасный контент. Автор предупреждает о возможных артефактах и непредсказуемом поведении.

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

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

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

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

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

Открыть на Hugging Face

1

gemma-4-E4B-it-qat-heretic_decensored

gemma-4-E4B-it-qat-heretic_decensored is a reasoning-capable language model built on top of google/gemma-4-E4B-it-qat-q4_0-unquantized and modified using the Heretic abliteration toolkit. The model applies refusal-direction analysis and targeted weight-space interventions to reduce internal refusal behaviors while preserving instruction-following, reasoning capabilities, and general conversational performance.

[!IMPORTANT] This model is intended strictly for research and learning purposes. Due to reduced internal refusal mechanisms, it may generate sensitive or unrestricted content. Users assume full responsibility for how the model is used. The authors and hosting platform disclaim any liability for generated outputs.

[!NOTE] This model is experimental and may generate unexpected behaviors or artifacts in certain scenarios.

Key Highlights

  • Heretic-Based Abliteration: Modified using the Heretic toolkit to identify and alter refusal-related representations within the model.
  • Reduced Refusal Behavior: Optimized to minimize internal refusal tendencies while maintaining instruction-following capabilities.
  • Gemma 4 QAT Backbone: Built directly on top of google/gemma-4-E4B-it-qat-q4_0-unquantized.
  • Reasoning-Oriented Performance: Preserves multi-step reasoning and analytical capabilities after abliteration.
  • Research-Focused Release: Designed for alignment research, model behavior analysis, and evaluation of refusal-direction modifications.
  • Efficient E4B Deployment: Suitable for local inference, research environments, and optimized deployment setups.

Abliteration Parameters

ParameterValue
direction_index33.23
attn.o_proj.max_weight1.37
attn.o_proj.max_weight_position32.40
attn.o_proj.min_weight1.16
attn.o_proj.min_weight_distance15.15
mlp.down_proj.max_weight1.23
mlp.down_proj.max_weight_position35.47
mlp.down_proj.min_weight0.89
mlp.down_proj.min_weight_distance24.37

Performance

MetricThis modelOriginal model (google/gemma-4-E4B-it-qat-q4_0-unquantized)
KL divergence0.01400 (by definition)
Refusals40/10099/100

Quick Start with Transformers

pip install transformers
pip install accelerate
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model = AutoModelForCausalLM.from_pretrained(
    "prithivMLmods/gemma-4-E4B-it-qat-heretic_decensored",
    torch_dtype="auto",
    device_map="auto"
)

tokenizer = AutoTokenizer.from_pretrained(
    "prithivMLmods/gemma-4-E4B-it-qat-heretic_decensored"
)

messages = [
    {
        "role": "user",
        "content": "Explain how a transformer model processes text."
    }
]

inputs = tokenizer.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_tensors="pt"
).to(model.device)

outputs = model.generate(
    inputs,
    max_new_tokens=512
)

print(
    tokenizer.decode(
        outputs[0][inputs.shape[-1]:],
        skip_special_tokens=True
    )
)

GGUF Model Files

ResourceLink
prithivMLmods/gemma-4-E4B-it-qat-heretic_decensored-GGUFhttps://huggingface.co/prithivMLmods/gemma-4-E4B-it-qat-heretic_decensored-GGUF

Intended Use

  • Alignment Research: Studying refusal-direction analysis and behavior modification techniques.
  • Model Evaluation: Benchmarking reasoning, instruction-following, and safety-related behaviors.
  • Red Teaming: Analyzing model responses under reduced-refusal conditions.
  • Local Deployment: Running efficient Gemma 4 QAT models in research and experimentation environments.
  • Abliteration Studies: Exploring the effects of targeted weight-space modifications on model behavior.

Limitations & Risks

Important Note: This model intentionally reduces built-in refusal mechanisms.

  • Sensitive Content Risk: May generate unrestricted, controversial, or unsafe outputs.
  • User Responsibility: Requires careful and ethical use.
  • Experimental Modifications: Behavior may differ significantly from the original model.
  • Alignment Trade-offs: Reduced refusal behavior may impact safety filtering and response constraints.
  • Potential Artifacts: Certain prompts may expose unexpected outputs resulting from the abliteration process.

Acknowledgements

  • Heretic: Fully automatic censorship removal framework for language models. This project was used to perform the refusal-direction analysis and ablation procedures that form the foundation of this model.

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

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

GPU в ailist

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

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

Any-to-any модели пока не поддерживаются.

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

0 моделей