GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

EZForever/gemma-4-12B-it-qat-uncensored-heretic-UDmerge-GGUF overview

UPDATE 2026 07 20: Download & use Google's new chat template from here https://huggingface.co/google/gemma 4 12B it qat q4 0 unquantized/blob/main/chat templat…

transformersggufgemmagemma4hereticuncensoredabliteratedimage-text-to-textarxiv:2407.09141base_model:llmfan46/gemma-4-12B-it-qat-q4_0-unquantized-uncensored-hereticbase_model:merge:llmfan46/gemma-4-12B-it-qat-q4_0-unquantized-uncensored-hereticbase_model:unsloth/gemma-4-12B-it-qat-GGUFbase_model:merge:unsloth/gemma-4-12B-it-qat-GGUFlicense:apache-2.0endpoints_compatibleregion:usconversational

Runs locally from ~6.26 GB disk (8 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
498
Likes
0
Pipeline
image-text-to-text
Author

Repository Files & Downloads

2 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
gemma-4-12B-it-qat-uncensored-heretic-UDmerge-Q4_K_XL.ggufGGUFQ4_K_XL6.26 GBDownload
gemma-4-12B-it-qat-uncensored-heretic-UDmerge-Q4_K_XXL.ggufGGUFQ4_K_XXL6.34 GBDownload

Model Details

Model IDEZForever/gemma-4-12B-it-qat-uncensored-heretic-UDmerge-GGUF
AuthorEZForever
Pipelineimage-text-to-text
Licenseapache-2.0
Base modelunsloth/gemma-4-12B-it-qat-GGUF,llmfan46/gemma-4-12B-it-qat-q4_0-unquantized-uncensored-heretic
Last modified2026-07-20T02:30:06.000Z

Model README

---

library_name: transformers

pipeline_tag: image-text-to-text

license: apache-2.0

license_link: https://ai.google.dev/gemma/docs/gemma_4_license

tags:

- gemma

- gemma4

- heretic

- uncensored

- abliterated

base_model:

  • unsloth/gemma-4-12B-it-qat-GGUF
  • llmfan46/gemma-4-12B-it-qat-q4_0-unquantized-uncensored-heretic

base_model_relation: merge

---

UPDATE 2026-07-20: Download & use Google's new chat template from here for better speed and accurancy. See Unsloth's post for details.

---

WARNING: Created with heavy LLM assistance (Zoo Code + DeepSeek-V4-Flash). Use at your own discretion.

Cosplayed Frankenstein and grafted/"merged" [llmfan46's][QAT BF16] abliterated tensors onto [Unsloth's][QAT UD-Q4_K_XL] lossless Q4_0 quant. Should yield better accurancy and refusal rate than a naive abliterated Q4_0 quant.

This repo contains two variants: "UDmerge-Q4_K_XL" have the abliterated tensors (blk.N.attn_output.weight, where N is 24 to 34 inclusive) quantized to Q4_0, while "UDmerge-Q4_K_XXL" quantizes them to Q8_0. The latter improves refusal rate by a lot, while basically not affecting TG speed (your mileage may vary).

Use [Unsloth's][QAT UD-Q4_K_XL] mmproj and mtp GGUF files for multimodal and MTP support.

| - | [QAT BF16] | [QAT Q4_0] | [QAT Q4_K_M] | QAT UDmerge-Q4_K_XL | QAT UDmerge-Q4_K_XXL | - | [PTQ BF16] | [PTQ Q4_0]* | [PTQ Q4_K_M] |

| - | - | - | - | - | - | - | - | - | - |

| Size (GB) | 23.9 | 7.60 | 7.38 | 6.72 | 6.81 | - | 23.9 | 7.00 | 8.54 |

| PPL | 3.423 | 3.716 | 3.734 | 3.343 | 3.400 | - | 3.941 | 4.733 | 4.950 |

| KLD | 0.0000 | 0.1752 | 0.2463 | 0.1012 | 0.0903 | - | 0.0000 | 0.3794 | 0.3430 |

| Refusal | 10% | 10% | 22% | 24% | 14% | - | 11% | 10% | 9% |

| MMLU-val | 74.59% | 74.00% | 74.40% | 75.77% | 74.66% | - | 71.00% | 65.77% | 71.20% |

| MMLU-val %flips | 0.00% | 3.33% | 4.11% | 3.14% | 0.98% | - | 0.00% | 10.71% | 4.38% |

| MMLU-val %allflips | 0.00% | 4.18% | 5.29% | 3.66% | 1.37% | - | 0.00% | 13.85% | 5.62% |

Legend:

  • *: Quant made with importance matrix ("imatrix"), results may be unreliable

PPL and KLD are tested on the same dataset as Heretic, i.e. the first 100 questions in the mlabonne/harmless_alpaca dataset's test split. Note that the dataset is processed differently, thus the numbers here are only meaningful for comparsions in this table, not with other models.

Refusal rates are also tested on the same dataset as Heretic, i.e. the first 100 questions in the mlabonne/harmful_behaviors dataset's test split. The test script, however, is adapted from Heretic to support testing needs. Note that the original author claimed 11% refusal rate for 31B and 26B-A4B models, and 6%~7% for 12B, which is not reproduced here; this is probably due to test method differences, but please take the numbers here with a grain of salt.

"MMLU-val" refers to zero-shot testing on the cais/mmlu dataset's validation split (1531 questions). All tests are done once with temperature 0.0 and reasoning off. MTP is not enabled during testing. See the test script and raw data for details.

"%flips" and "%allflips" refer to the percentage of changed answers compared to BF16 models, measured as by the paper Accuracy is Not All You Need (arXiv:2407.09141). "%flips" is the percentage of "right-to-wrong" and "wrong-to-right" changes, while "%allflips" is the percentage of all changed answers.

<details>

<summary>More test results</summary>

| - | [QAT BF16] | [QAT Q4_0] | [QAT Q4_K_M] | QAT UDmerge-Q4_K_XL | QAT UDmerge-Q4_K_XXL | - | [PTQ BF16] | [PTQ Q4_0]* | [PTQ Q4_K_M] |

| - | - | - | - | - | - | - | - | - | - |

| MMLU-val-v1 | 75.57% | 75.38% | 75.51% | 76.81% | 75.44% | - | 73.81% | 70.48% | 73.22% |

| MMLU-val-v1 %nulls | 0.78% | 0.78% | 3.46% | 1.76% | 0.78% | - | 0.20% | 0.20% | 0.07% |

| MMLU-val-v1 %flips | 0.00% | 2.55% | 5.68% | 3.85% | 0.65% | - | 0.00% | 8.69% | 4.77% |

| MMLU-val-v1 %allflips | 0.00% | 3.46% | 8.23% | 5.36% | 0.78% | - | 0.00% | 12.21% | 6.92% |

"MMLU-val-v1" numbers are "MMLU-val" test done by an older version of the test script, which does not enforce grammar constraints on answer format. These number are less representative than the ones given above (?), and are kept here for reference purposes only. "%nulls" here refers to the percentage of "null answers", i.e. answers that are not in the required format, thus not parsable.

</details>

More information, including test scripts and raw test data, will be released soon.

[QAT UD-Q4_K_XL]: https://huggingface.co/unsloth/gemma-4-12B-it-qat-GGUF

[QAT BF16]: https://huggingface.co/llmfan46/gemma-4-12B-it-qat-q4_0-unquantized-uncensored-heretic

[QAT Q4_0]: https://huggingface.co/llmfan46/gemma-4-12B-it-qat-q4_0-uncensored-heretic-GGUF

[QAT Q4_K_M]: https://huggingface.co/mradermacher/gemma-4-12B-it-qat-q4_0-unquantized-uncensored-heretic-GGUF

[PTQ BF16]: https://huggingface.co/llmfan46/gemma-4-12B-it-uncensored-heretic

[PTQ Q4_0]: https://huggingface.co/mradermacher/gemma-4-12B-it-uncensored-heretic-i1-GGUF

[PTQ Q4_K_M]: https://huggingface.co/llmfan46/gemma-4-12B-it-uncensored-heretic-GGUF

Run EZForever/gemma-4-12B-it-qat-uncensored-heretic-UDmerge-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models