← back to catalog · registered 2026-08-22 13:56

ibyteohdear/gemma-4-12B-it-heretic_decensored

ibyteohdear Gemma 12B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/ibyteohdear%2Fgemma-4-12B-it-heretic_decensored"
Response includes
  • classification m3
  • files 14
  • benchmarks 11 entries
  • author_summary 1 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M3
Primary method

Layer-wise ablation

Applied on top of direct removal inherited from the base model.
Confidence
HIGH
Inherited from base model
Why this label 2 signals
Producer identity confirmed by naming conventions, tags or the model card. This label is very unlikely to change.
  • 'heretic' in model name (Heretic-produced)
  • Heretic uses layer-wise optimization (M3) with underlying direction removal (M1)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
HIGH
Why we say so
name contains 'heretic'; Heretic default extraction is difference-of-means (Arditi 2024)
Downloads · 30-day
97
Likes
0
Model age
2mo ago
created 2026-08-12
Downloads over time
Now781→from0↑0%
02865738590 on Aug 12781 on Oct 11781 on Oct 9AugSepOct
Aug 12 → Oct 11 · 49 snapshots · spans 60 days

Benchmarks

Portrait before abliteration
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.
Benchmark Score Source
Entertainment 1.1 UGI
Hazardous 2.9 UGI
Natural Intelligence 25.81 UGI
Political lean -17.4% UGI
Sensitive-Info 16.56 UGI
SocPol 1.3 UGI
UGI 15.2 UGI
Willingness (10) 1.2 UGI
W10-Adherence 1.5 UGI
W10-Direct 1 UGI
Writing 31.6 UGI

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en
Tags
transformers safetensors gemma4_unified image-text-to-text text-generation-inference pytorch decensored abliterated unfiltered unredacted heretic bf16

Related

Total size
22.3 GB
Files
14
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-08-12 02:22

Files by quantization

Auxiliary files 14 files 22.3 GB
model-00004-of-00005.safetensors 4.64 GB 365ef579 download
model-00002-of-00005.safetensors 4.63 GB 09b525bf download
model-00001-of-00005.safetensors 4.62 GB a813e9d9 download
model-00003-of-00005.safetensors 4.55 GB 41ec8513 download
model-00005-of-00005.safetensors 3.84 GB 0c33c9f4 download
tokenizer.json 30.7 MB cc8d3a0c download
model.safetensors.index.json 64.8 KB 752efb73 download
chat_template.jinja 17.1 KB e61bbfe9 download
README.md 5.61 KB 34ade33c download
config.json 4.24 KB 02136bf8 download
tokenizer_config.json 2.68 KB df4afd62 download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.35 KB b889adcd download
generation_config.json 255 B 1cfc051b download

README current version from Hugging Face


license: apache-2.0
base_model:

  • google/gemma-4-12B-it
    tags:
  • text-generation-inference
  • pytorch
  • decensored
  • abliterated
  • unfiltered
  • unredacted
  • heretic
  • bf16
    language:
  • en
    pipeline_tag: any-to-any
    library_name: transformers

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

Parameter Value
direction_index 29.56
attn.o_proj.max_weight 1.18
attn.o_proj.max_weight_position 39.94
attn.o_proj.min_weight 0.81
attn.o_proj.min_weight_distance 25.73
mlp.down_proj.max_weight 1.37
mlp.down_proj.max_weight_position 46.27
mlp.down_proj.min_weight 0.97
mlp.down_proj.min_weight_distance 21.63

Performance

Metric This model Original model (google/gemma-4-12B-it)
KL divergence 0.0366 0 (by definition)
Refusals 34/100 99/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

Resource Link
prithivMLmods/gemma-4-12B-it-heretic_decensored-GGUF https://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

README history 1 version

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-08-12Duplicate from prithivMLmods/gemma-4-12B-it-heretic_decensored4a8f8f35.6 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration