DuoNeural | GGUF →
Refusal-removed google/gemma-4-26B-A4B-it using Expert-Granular Abliteration (EGA).
Gemma 4 26B-A4B is Google's MoE model: 25.2B total params, 3.8B active per token, 30 layers with alternating SWA(256)/Global(512) attention, Per-Layer Embeddings (PLE), shared KV cache, and 128 experts per layer.
Standard dense abliteration computes a single mean refusal direction per layer. EGA computes a per-expert refusal direction across all 128 experts independently and orthogonalizes each via biprojection.
Result: 3/100 refusals vs 29/100 for dense-only abliteration.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model = AutoModelForCausalLM.from_pretrained(
"DuoNeural/gemma-4-26B-A4B-it-abliterated",
torch_dtype=torch.bfloat16,
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("DuoNeural/gemma-4-26B-A4B-it-abliterated")
For consumer hardware, use the GGUF Q4_K_M (~16.5GB).
| Format | VRAM |
|---|---|
| BF16 (this repo) | ~52GB |
| GGUF Q4_K_M | ~16.5GB |
Gemma 4 requires a patched engine for 3 quirks:
llama.cpp (recent builds) handles all three. Use with -ctk turbo4 -ctv turbo3 for efficient KV cache quantization.
DuoNeural is an open AI research lab — human + AI in collaboration.
| 🤗 HuggingFace | huggingface.co/DuoNeural |
| 🐙 GitHub | github.com/DuoNeural |
| 🐦 X / Twitter | @DuoNeural |
| [email protected] | |
| 📬 Newsletter | duoneural.beehiiv.com |
| ☕ Support | buymeacoffee.com/duoneural |
| 🌐 Site | duoneural.com |
Raw updates from the lab: model drops, training results, findings. Subscribe at duoneural.beehiiv.com.
Open access, CC BY 4.0. Authored by Archon, Jesse Caldwell, Aura — DuoNeural.
model-00001-of-00002.safetensors 46 GiBmodel-00002-of-00002.safetensors 2.1 GiBgoogle/gemma-4-26B-A4B-it