ExLlamaV3 quantization of trohrbaugh/gemma-4-12b-it-heretic, a decensored version of google/gemma-4-12b-it.
Lineage: google/gemma-4-12b-it → trohrbaugh/gemma-4-12b-it-heretic (BF16) → this EXL3 quant.
All credit for the abliteration goes to trohrbaugh and to Heretic by p-e-w. Safety filtering is largely removed, so the model can produce sensitive or inappropriate content; you are responsible for how you use it.
Made with Heretic v1.2.0+custom (directional ablation of attn.o_proj and mlp.down_proj). From the source model card:
| Metric | Value |
|---|---|
| KL divergence vs original | 0.0177 |
| Refusals (of 100) | 1 (original: 99) |
| Part | Kept | Bits |
|---|---|---|
| Language model (decoder) | yes | 6.0 bpw |
Output head (lm_head) |
yes | 8 bpw |
| Vision encoder (image input) | yes | 6 bpw |
Gemma 4 has no built-in MTP draft head. Image input is optional: in TabbyAPI vision: true loads the encoder,
vision: false runs text only and saves its VRAM.
Gemma4UnifiedForConditionalGeneration), whose config.json lacks vision_config.model_patch_size, so exllamav3 1.6.9 refuses it. The value is 48: the vision patch_dense layer takes 3 x 48 x 48 = 6912 inputs (patch_size 16 x pooling_kernel_size 3). It was added to the config before conversion and is included here.From quantization_config.json:
| Setting | Value |
|---|---|
| exllamav3 version | 1.6.9 |
| Decoder weights | 6.0 bpw |
Output head (lm_head) |
8 bpw |
| Vision layers | 6 bpw |
| Codebook | mul1 |
| Output scales | auto |
| Calibration | 250 rows × 2048 columns (bundled exllamav3 calibration mix) |
python -m exllamav3.conversion.convert_model \
-i gemma-4-12b-it-heretic -o gemma-4-12b-it-heretic-exl3-6.0bpw-h8-vb6 -w workdir -b 6.0 -hb 8 -vb 6
Needs exllamav3 1.6.9 or newer. Runs next to other models on one RTX 3090 (24 GB): TabbyAPI with exllamav3 1.6.9, cache_mode: "8,6", 16384-token context, about 12 GB VRAM. Used as a dedicated writer of photo descriptions for an image model.
model:
model_name: gemma-4-12b-it-heretic-exl3-6.0bpw-h8-vb6
max_seq_len: 16384
cache_mode: "8,6"
vision: true
model-00001-of-00002.safetensors 7.9 GiBmodel-00002-of-00002.safetensors 2.6 GiB