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

amarck/gemma-4-31b-it-abliterated-GGUF

amarck Gemma 31B GGUF 262K ctx
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/amarck%2Fgemma-4-31b-it-abliterated-GGUF"
Response includes
  • classification m8
  • files 4
  • hub_downloads_all_time 58,957
  • author_summary 3 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M8
Primary method

Repackaging (quantization)

Applied on top of direct removal inherited from the base model.
Confidence
MEDIUM
Inherited from base model
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=1
  • assume M1 (base ablation) + M8 (GGUF quant) - default when producer unknown
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
59K
466 last 30d - cooling
Likes
4
Model age
6mo ago
created 2026-04-03
Downloads over time
Now59.2K→from4.3K↑1,269%
1.6K22.6K43.7K64.7K4.3K on Apr 1559.2K on Oct 11AprMayJunJulAugSepOct
Apr 15 → Oct 11 · 65 snapshots · spans 179 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
gemma
Quantizations
Q4_K
Tags
gguf abliterated gemma4 gemma-4 uncensored heretic license:gemma endpoints_compatible region:us conversational

Related

Total size
17.4 GB
Files
4
Quantizations
2
Registered
2026-08-22 13:56
Last updated on HF
2026-04-03 14:38

Files by quantization

Q4_K 1 file 17.4 GB
gemma-4-31b-it-abliterated-t126-Q4_K_M.gguf 17.4 GB 14c657e2 download
Auxiliary files 3 files 19.1 KB
Example Before and After 15.9 KB 8bed9904 download
.gitattributes 1.64 KB 23c315b1 download
README.md 1.62 KB b78fa9ee download

README current version from Hugging Face


license: gemma
base_model: google/gemma-4-31b-it
tags:

  • abliterated
  • gemma4
  • gemma-4
  • gguf
  • uncensored
  • heretic

Gemma 4 31B-IT Abliterated (Q4_K_M GGUF)

Abliterated variant of google/gemma-4-31b-it with refusal behavior removed using heretic. Removes ~64% of refusals while preserving model capabilities (KL divergence 0.27).

Files

File Size Description
gemma-4-31b-it-abliterated-t126-Q4_K_M.gguf 18 GB Q4_K_M quantization

Abliteration Method

  • Tool: heretic v1.2.0
  • Approach: Bayesian-optimized refusal direction removal via LoRA-based weight modification
  • Optimization: 200 trials (60 random exploration + 140 TPE-guided), selected from Pareto front balancing refusal count vs KL divergence
  • Targets: 120 modules across 60 layers (self_attn.o_proj + mlp.down_proj)
  • Datasets: 400 harmful vs 400 harmless prompts (mlabonne/harmful_behaviors, mlabonne/harmless_alpaca)
  • Hardware: NVIDIA H100 80GB, ~1 hour optimization

Gemma 4 Compatibility Note

Gemma 4's vision encoder uses Gemma4ClippableLinear layers not supported by PEFT. Resolved by restricting LoRA targeting to language model layers via full module paths instead of leaf name matching.

Usage

llama-server -m gemma-4-31b-it-abliterated-t126-Q4_K_M.gguf -ngl 99 --ctx-size 8192 --flash-attn on

Quantization

  • Format: GGUF Q4_K_M (4.87 BPW)
  • Size: ~18GB
  • Target hardware: RTX 4090 (24GB), RTX 5090 (32GB), any GPU with 20GB+ VRAM

README history 3 versions

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

  1. 2026-04-03Upload README.md with huggingface_hub2f278db1.6 KB
    Loading...
  2. 2026-04-03Upload README.md with huggingface_hub305b7a03 KB
    Loading...
  3. 2026-04-03Upload README.md with huggingface_hub3aa626a3.2 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