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

DuoNeural/OpenYourMind-Gemma4-12B-IT-Abliterated-GGUF

DuoNeural Gemma 12B GGUF multimodal second-order 131K 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/DuoNeural%2FOpenYourMind-Gemma4-12B-IT-Abliterated-GGUF"
Response includes
  • classification m8
  • files 6
  • hub_downloads_all_time 16,657
  • author_summary 45 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
17K
2K last 30d - stable
Likes
8
Model age
4mo ago
created 2026-06-04
Downloads over time
Now17.5K→from0↑0%
06.4K12.8K19.2K0 on Jun 517.5K on Oct 11JunJulAugSepOct
Jun 5 → Oct 11 · 59 snapshots · spans 128 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
Languages
en
Quantizations
Q3_K Q4_K Q5_K Q8_0
Tags
gguf abliteration uncensored gemma gemma4 multimodal quantized DuoNeural community-quants text-generation en base_model:OpenYourMind/gemma-4-12B-it-abliterated-uncensored

Related

Total size
32.7 GB
Files
6
Quantizations
5
Registered
2026-08-22 13:56
Last updated on HF
2026-06-04 11:06

Files by quantization

Q8_0 1 file 11.8 GB
oym_ablit-Q8_0.gguf 11.8 GB d549fb7b download
Q5_K 1 file 7.96 GB
oym_ablit-Q5_K_M.gguf 7.96 GB 05da6540 download
Q4_K 1 file 6.87 GB
oym_ablit-Q4_K_M.gguf 6.87 GB 0a0ea428 download
Q3_K 1 file 6.12 GB
oym_ablit-Q3_K_L.gguf 6.12 GB 77fc46a2 download
Auxiliary files 2 files 7.74 KB
README.md 6.03 KB 0a247f17 download
.gitattributes 1.71 KB cf0dd02f download

README current version from Hugging Face


license: gemma
base_model: OpenYourMind/gemma-4-12B-it-abliterated-uncensored
language:

  • en
    tags:
  • gguf
  • abliteration
  • uncensored
  • gemma
  • gemma4
  • multimodal
  • quantized
  • DuoNeural
  • community-quants
    pipeline_tag: text-generation

OpenYourMind Gemma 4-12B-IT Abliterated — GGUF

DuoNeural | 2026-06-04

Community GGUF quantizations of OpenYourMind/gemma-4-12B-it-abliterated-uncensored.

All credit for the abliteration goes to OpenYourMind, who were the first team to publish an abliterated Gemma 4-12B-IT (June 3, 2026). DuoNeural's contribution here is the GGUF quantization pipeline only — we wanted the community to have accessible quants for this excellent work.


Original Model — OpenYourMind

OpenYourMind/gemma-4-12B-it-abliterated-uncensored

Full BF16 weights of an abliterated, uncensored variant of google/gemma-4-12B-it. Gemma 4's encoder-free unified multimodal stack is fully intact — text, image, and audio inputs flow straight into a single decoder-only transformer. Drop-in replacement for the original at the architecture level.

Abliteration method (OpenYourMind):

  • Residual-stream refusal directions (one per decoder layer) extracted via diff-in-means on a labeled harmful/harmless prompt set
  • Applied as per-matrix delta on residual-write modules using their custom abliteration framework
  • Multimodal preservation: no separate vision/audio towers to graft back — encoder-free architecture means weights are unchanged outside the residual-write targets

Key properties:

  • Uncensored across standard refusal axes
  • Reasoning preserved (configurable thinking mode)
  • Multimodal: text + image + audio carried forward
  • Drop-in shape compatibility with google/gemma-4-12B-it

Architecture

Property Value
Architecture Gemma4UnifiedForConditionalGeneration (model_type: gemma4_unified)
Total Parameters ~11.95B (dense)
Decoder Layers 48
Hidden Size 3840
Attention 16 heads / 8 KV heads, hybrid sliding-window (1024) + global (full) attention, p-RoPE
Vocabulary 262,144
Context Length up to 256K tokens
Modalities Text, Image, Audio (encoder-free / unified)

GGUF Quantizations (DuoNeural)

Generated using llama.cpp with importance matrix (imatrix, wikitext-2 calibration) for optimal low-bit quality.

File Size Recommended for
oym_ablit-Q3_K_L.gguf ~6.2 GB 8GB VRAM / low-end / large context
oym_ablit-Q4_K_M.gguf ~7.5 GB Recommended — best size/quality tradeoff
oym_ablit-Q5_K_M.gguf ~9.2 GB High quality, 12GB cards
oym_ablit-Q8_0.gguf ~12.7 GB Near-lossless, 16GB+ cards

Usage

Ollama:

ollama run hf.co/DuoNeural/OpenYourMind-Gemma4-12B-IT-Abliterated-GGUF:Q4_K_M

llama.cpp:

./llama-cli -m oym_ablit-Q4_K_M.gguf --chat-template gemma -p "Your prompt" -n 512

LM Studio / Jan / Open WebUI: search DuoNeural/OpenYourMind-Gemma4-12B-IT-Abliterated-GGUF


Original Model Usage (from OpenYourMind)

For full multimodal inference, use the original BF16 weights with their recommended setup:

from transformers import AutoProcessor, AutoModelForMultimodalLM

repo = "OpenYourMind/gemma-4-12B-it-abliterated-uncensored"

processor = AutoProcessor.from_pretrained(repo)
model = AutoModelForMultimodalLM.from_pretrained(
    repo, dtype="bfloat16", device_map="auto",
)

messages = [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": [
        {"type": "image", "url": "path/to/image.jpg"},
        {"type": "text",  "text": "Describe this image in detail."},
    ]},
]
inputs = processor.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True,
    return_tensors="pt", return_dict=True, enable_thinking=False,
).to(model.device)
input_len = inputs["input_ids"].shape[-1]

out = model.generate(**inputs, max_new_tokens=512)
print(processor.decode(out[0][input_len:], skip_special_tokens=True))

Text-only, audio, and video work through the same class. Place image content before text, audio after text. Requires a recent transformers with Gemma 4 unified classes.

Best practices (OpenYourMind):

  • Sampling: temperature=1.0, top_p=0.95, top_k=64
  • Thinking mode: enable_thinking=True in apply_chat_template; use processor.parse_response to separate reasoning block from final answer
  • Do not feed previous-turn thoughts back into multi-turn history

Hardware for BF16: ~24 GB — fits a single 24GB GPU for modest context, 40–80GB for long context and multimodal batches.


Support OpenYourMind


Related


About DuoNeural

Open AI research lab at the intersection of human and artificial intelligence. Post-training dynamics · Mechanistic interpretability · Abliteration research · 32+ open-access papers.

Platform Link
🤗 HuggingFace huggingface.co/DuoNeural
📚 Zenodo zenodo.org/communities/duoneural
🐦 X @DuoNeural
📧 Email [email protected]

Quantization work open access. Original model license: Gemma (inherits from google/gemma-4-12B-it).

README history 2 versions

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

  1. 2026-06-04Fix model card — accurate OYM abliteration details and architecturea0d240f6 KB
    Loading...
  2. 2026-06-04Add model card with OYM attribution2c800d33.5 KB
    Loading...

Discussions 1 thread

  1. 2026-07-14Why is ollama telling me this doesn't support multimodal requests?open1 💬#1
    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