/ Модель

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

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

gemma-4-12B-it-heretic_decensored

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

Производная модели ibyteohdear/gemma-4-12B-it-heretic_decensored. Экспериментальная модификация Gemma 4 12B IT с ослабленными отказами для исследований поведения модели, оценки безопасности и red teaming.

58скачиваний за 30 дней5лайковвеса обновлены17 июн 2026

Бенчмарки

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

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

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

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

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

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

Карточка модели prithivMLmods/gemma-4-12B-it-heretic_decensored на Hugging Face совпадает с карточкой ibyteohdear/gemma-4-12B-it-heretic_decensored, поэтому описание составлено по ней.

Gemma 4 12B IT Heretic Decensored — экспериментальная модификация инструкционной Gemma 4 12B IT, созданная автором репозитория с помощью инструментария Heretic. Веса изменены методом abliteration: анализируются направления, связанные с отказами, и выполняются целевые вмешательства, чтобы уменьшить склонность модели отказывать при сохранении диалоговых навыков, следования инструкциям и многошаговых рассуждений. В метаданных модель отнесена к семейству Gemma4 Unified и задаче any-to-any; базовая модель Google поддерживает работу с текстом, изображениями, видео и аудио.

Модель предназначена для исследований выравнивания, анализа поведения отказов, оценки следования инструкциям и red teaming, а также для локальных экспериментов. В README приведено сравнение на 100 запросах: 34 отказа у модификации против 99 у исходной модели; также указано значение KL-дивергенции 0,0366. Это ограниченные показатели из карточки, они не гарантируют качество на других задачах. Снижение встроенных механизмов отказа повышает риск небезопасных или чувствительных ответов, а изменения могут вызывать неожиданные артефакты. Репозиторий содержит веса в формате safetensors и использует библиотеку Transformers. Лицензия — Apache 2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

1

gemma-4-12B-it-heretic_decensored

gemma-4-12B-it-heretic_decensored is a reasoning-capable language model built on top of google/gemma-4-12B-it 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 Backbone: Built directly on top of google/gemma-4-12B-it.
  • 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.
  • 12B Scale Deployment: Suitable for local inference, research environments, and optimized deployment setups.

Abliteration Parameters

ParameterValue
direction_index29.56
attn.o_proj.max_weight1.18
attn.o_proj.max_weight_position39.94
attn.o_proj.min_weight0.81
attn.o_proj.min_weight_distance25.73
mlp.down_proj.max_weight1.37
mlp.down_proj.max_weight_position46.27
mlp.down_proj.min_weight0.97
mlp.down_proj.min_weight_distance21.63

Performance

MetricThis modelOriginal model (google/gemma-4-12B-it)
KL divergence0.03660 (by definition)
Refusals34/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-12B-it-heretic_decensored",
    torch_dtype="auto",
    device_map="auto"
)

tokenizer = AutoTokenizer.from_pretrained(
    "prithivMLmods/gemma-4-12B-it-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-12B-it-heretic_decensored-GGUFhttps://huggingface.co/prithivMLmods/gemma-4-12B-it-heretic_decensored-GGUF
Quick Start with llama.cpp (Docker)https://huggingface.co/prithivMLmods/gemma-4-12B-it-heretic_decensored-GGUF#quick-start-with-llamacpp-docker

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 high-capacity Gemma 4 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.

  • Model Trials & Evaluation: Experimental evaluations, refusal measurements, and optimization trials were conducted and documented at: https://huggingface.co/strangeropshf/demo-TERM-hf-job-01

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

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

GPU в ailist

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

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

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

Класс архитектуры
Gemma4UnifiedForConditionalGeneration
Ревизия весов
6769de5

0 моделей