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

prithivMLmods/gemma-4-E4B-it-qat-heretic_decensored

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/prithivMLmods%2Fgemma-4-E4B-it-qat-heretic_decensored"
Response includes
  • classification m3
  • files 13
  • author_summary 98 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
39
↑ 575% in 90 days
Likes
6
Descendants
3
in 3 direct forks
Model age
3mo ago
created 2026-06-17
Downloads over time
Now135→from20↑575%
145810214720 on Jun 17135 on Oct 11JunJulAugSepOct
Jun 17 → Oct 11 · 56 snapshots · spans 116 days

Genealogy 3 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.

Variants by this author 2 formats · 1K downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

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

Related

Total size
14.8 GB
Files
13
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-06-18 14:15

Files by quantization

Auxiliary files 13 files 14.8 GB
model-00001-of-00004.safetensors 5.25 GB 62cfc14d download
model-00003-of-00004.safetensors 4.65 GB 28f2bf73 download
model-00002-of-00004.safetensors 4.65 GB cbe428b1 download
model-00004-of-00004.safetensors 243 MB 8080cb1a download
tokenizer.json 30.7 MB cc8d3a0c download
model.safetensors.index.json 207 KB 8f521860 download
chat_template.jinja 16.4 KB dc032e46 download
README.md 6.06 KB 8da308fb download
config.json 5.02 KB 59f40ee4 download
tokenizer_config.json 2.68 KB 0362f5a0 download
processor_config.json 1.65 KB 5465974d download
.gitattributes 1.53 KB 52373fe2 download
generation_config.json 204 B 5525853b download

README current version from Hugging Face


base_model:

  • google/gemma-4-E4B-it-qat-q4_0-unquantized
    license: apache-2.0
    language:
  • en
    pipeline_tag: any-to-any
    library_name: transformers
    tags:
  • text-generation-inference
  • pytorch
  • decensored
  • abliterated
  • unfiltered
  • unredacted
  • heretic

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

Parameter Value
direction_index 33.23
attn.o_proj.max_weight 1.37
attn.o_proj.max_weight_position 32.40
attn.o_proj.min_weight 1.16
attn.o_proj.min_weight_distance 15.15
mlp.down_proj.max_weight 1.23
mlp.down_proj.max_weight_position 35.47
mlp.down_proj.min_weight 0.89
mlp.down_proj.min_weight_distance 24.37

Performance

Metric This model Original model (google/gemma-4-E4B-it-qat-q4_0-unquantized)
KL divergence 0.0140 0 (by definition)
Refusals 40/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-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

Resource Link
prithivMLmods/gemma-4-E4B-it-qat-heretic_decensored-GGUF https://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.

README history 12 versions

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

  1. 2026-06-18Update README.md2bbaa276.1 KB
    Loading...
  2. 2026-06-18Update README.md63487126 KB
    Loading...
  3. 2026-06-18Update README.md9f9f7de6.3 KB
    Loading...
  4. 2026-06-18Update README.md2792e2b6.3 KB
    Loading...
  5. 2026-06-18Update README.mdbe8bd5a6.2 KB
    Loading...
  6. 2026-06-18Update README.md206bfb71 KB
    Loading...
  7. 2026-06-18Update README.md829ff05958 B
    Loading...
  8. 2026-06-18Update README.md9bf5eda837 B
    Loading...
  9. 2026-06-18Update README.md476040c774 B
    Loading...
  10. 2026-06-18Upload README.md with huggingface_huba0ad38c28.8 KB
    Loading...
  11. 2026-06-18Upload Gemma4ForConditionalGeneration388886765 B
    Loading...
  12. 2026-06-17Create README.md87b8d5c64 B
    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