Downloads · 30 days
9.6K
15% of all-time downloads
DuoNeural/Gemma4-12B-IT-Abliterated-GGUF
Gemma4-12B-IT-Abliterated-GGUF is a text generation model from DuoNeural. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Downloads · 30 days
9.6K
15% of all-time downloads
All-time downloads
65.8K
Public
Repo size
92.5 GB
Likes
23
Public
Click a slice to open those files.
.gguf63.9 GB · 100%
From the Hugging Face model README
DuoNeural | 2026-06-03
GGUF quantizations of DuoNeural/Gemma4-12B-IT-Abliterated — an abliterated Gemma 4-12B-IT with the refusal direction surgically removed.
Quantized with llama.cpp.
| File | Size | Recommended Use |
|---|---|---|
gemma4_12b_abliterated_Q4_K_M.gguf | ~7.5GB | Best tradeoff — fits 12GB VRAM, excellent quality |
gemma4_12b_abliterated_Q5_K_M.gguf | ~8.5GB | High quality, needs 12GB VRAM |
gemma4_12b_abliterated_Q8_0.gguf | ~12.7GB | Near-lossless, needs 16GB VRAM |
| Quantization | Size | Prefill (tok/s) | Generation (tok/s) |
|---|---|---|---|
| Q4_K_M | 6.86 GiB | 2,583 ± 139 | 78.3 ± 0.4 |
| Q5_K_M | 7.95 GiB | 2,455 ± 205 | 73.1 ± 0.2 |
| Q8_0 | 11.78 GiB | 2,573 ± 206 | 63.4 ± 0.3 |
Benchmarked on A100-40GB SXM4. -ngl 99 (all layers to GPU). llama-bench pp256/tg64.
# Download a quant
huggingface-cli download DuoNeural/Gemma4-12B-IT-Abliterated-GGUF \
gemma4_12b_abliterated_Q4_K_M.gguf --local-dir ./
# Run with llama.cpp
./llama-cli -m gemma4_12b_abliterated_Q4_K_M.gguf \
-p "Write a haiku about hacking." \
-n 200 --temp 0.7
from llama_cpp import Llama
llm = Llama(
model_path="./gemma4_12b_abliterated_Q4_K_M.gguf",
n_ctx=4096,
n_gpu_layers=-1, # offload all layers to GPU
)
output = llm.create_chat_completion(
messages=[{"role": "user", "content": "Your prompt here"}],
max_tokens=512,
temperature=0.7,
)
print(output["choices"][0]["message"]["content"])
enable_thinking=True in llama.cpp (no loops). In Python/transformers, pass enable_thinking=False to apply_chat_template.Congratulations to OpenYourMind for being the first published abliteration of Gemma 4-12B-IT (Jun 3, 2026). Their approach uses diff-in-means on a labeled harmful/harmless set; ours uses orthogonal rank-1 projection via heretic-llm. Two independent methods on the same base — a useful comparison point for the community. We are not affiliated and did not use their data.
DuoNeural is an open AI research lab publishing everything open access.
| Platform | Link |
|---|---|
| 🤗 HuggingFace | huggingface.co/DuoNeural |
| 📚 Papers | zenodo.org/communities/duoneural |
| 🌐 Website | duoneural.com |
Apache-2.0 licensed. All DuoNeural research is CC BY 4.0.