← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

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

EZForever Gemma 31B GGUF multimodal 262K ctx
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/EZForever%2Fgemma-4-31B-it-qat-uncensored-heretic-UDmerge-GGUF"
Response includes
  • classification m3
  • files 4
  • hub_downloads_all_time 7,235
  • author_summary 3 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 · lifetime
19K
9K last 30d - stable
Likes
11
Model age
4mo ago
created 2026-06-30
Downloads over time
Now 18.6K → from 272 ↑ 6,739%
06.8K13.6K20.4K 272 on Jul 1 18.6K on Nov 25 JulAugSepOctNov
Jul 1 → Nov 25 · 100 snapshots · spans 147 days

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
Quantizations
Q4_K
Tags
transformers gguf gemma gemma4 heretic uncensored abliterated image-text-to-text arxiv:2407.09141 base_model:llmfan46/gemma-4-31B-it-qat-q4_0-unquantized-uncensored-heretic base_model:merge:llmfan46/gemma-4-31B-it-qat-q4_0-unquantized-uncensored-heretic base_model:unsloth/gemma-4-31B-it-qat-GGUF

Related

Total size
32.8 GB
Files
4
Quantizations
2
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-07-20 02:32

Files by quantization

Q4_K 1 file 16.1 GB
gemma-4-31B-it-qat-uncensored-heretic-UDmerge-Q4_K_XL.gguf 16.1 GB 145772c5 download
Q4_K 1 file 16.7 GB
gemma-4-31B-it-qat-uncensored-heretic-UDmerge-Q4_K_XXL.gguf 16.7 GB ff4f14ce download
Auxiliary files 2 files 6.93 KB
README.md 5.26 KB 112b0b1c download
.gitattributes 1.67 KB 47fdc101 download

README from Hugging Face, captured 2026-08-22


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-31B-it-qat-GGUF
  • llmfan46/gemma-4-31B-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 abliterated tensors onto Unsloth's 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 10 to 35 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 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) 62.5** 17.7 18.7 17.3 18.0 - 62.5** 17.7 18.7
PPL 2.752 2.631 2.648 2.690 2.767 - 3.236 3.432 3.367
KLD 0.0000 0.0170 0.0176 0.0056 0.0017 - 0.0000 0.0714 0.0750
Refusal 20% 32% 32% 34% 20% - 16% 16% 15%
MMLU-val 84.13% 85.37% 85.37% 85.83% 84.19% - 86.02% 85.50% 85.30%
MMLU-val %flips 0.00% 2.94% 2.55% 2.61% 0.20% - 0.00% 3.00% 3.33%
MMLU-val %allflips 0.00% 3.59% 3.00% 3.07% 0.26% - 0.00% 3.72% 4.05%

Legend:

  • *: Quant made with importance matrix ("imatrix"), results may be unreliable
  • **: Includes multimodal ("mmproj") weights, which is ~1.2GB in BF16

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.

More test results
- 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 84.78% 85.63% 85.56% 85.89% 85.11% - 86.35% 85.30% 85.89%
MMLU-val-v1 %nulls 0.20% 0.72% 0.46% 0.52% 0.20% - 0.46% 0.52% 0.46%
MMLU-val-v1 %flips 0.00% 2.29% 1.44% 1.76% 0.46% - 0.00% 3.27% 2.94%
MMLU-val-v1 %allflips 0.00% 3.14% 2.16% 2.42% 0.59% - 0.00% 4.11% 3.40%

"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.

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

README history 14 versions

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

  1. 2026-07-20 Update README.md 1546c31 5.3 KB
    Loading...
  2. 2026-07-09 Update README.md ff88666 5 KB
    Loading...
  3. 2026-07-05 Update README.md ee0ce78 3.4 KB
    Loading...
  4. 2026-07-05 Update README.md 41dbebc 3.4 KB
    Loading...
  5. 2026-07-05 Update README.md c3b3bfa 2.8 KB
    Loading...
  6. 2026-07-04 Update README.md 3814893 2.8 KB
    Loading...
  7. 2026-07-04 Update README.md 82fc7c5 2.7 KB
    Loading...
  8. 2026-07-04 Update README.md b263acc 2.8 KB
    Loading...
  9. 2026-06-30 Update README.md a01d95b 1.8 KB
    Loading...
  10. 2026-06-30 Update README.md 73b1c1f 1.7 KB
    Loading...
  11. 2026-06-30 Update README.md 2c8aa92 359 B
    Loading...
  12. 2026-06-30 Update README.md 254222c 166 B
    Loading...
  13. 2026-06-30 Update README.md 104ceb3 139 B
    Loading...
  14. 2026-06-30 initial commit 7714dc6 28 B
    Loading...

Discussions 3 threads

  1. 2026-11-04 Thank you for the high‑quality model! open 1 💬 #3
    Loading...
  2. 2026-07-20 Will using a censored MTP model with an uncensored main model lower the accepta… open 2 💬 #2
    Loading...
  3. 2026-07-07 Thank you ! open 2 💬 #1
    Loading...
Catalog is the map. Apps are the tools.

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

Every GGUF 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