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

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

OpenYourMind Gemma 12B multimodal
Your rig guess connected
? Why do I need an app?
Reading your rig…

Below is the per-quantization compatibility for this model.

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

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/OpenYourMind%2Fgemma-4-12B-it-abliterated-uncensored"
Response includes
  • classification m1
  • files 10
  • benchmarks 11 entries
  • hub_downloads_all_time 20,523
  • author_summary 11 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.1.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
HIGH
Why this label 1 signal
Producer identity confirmed by naming conventions, tags or the model card. This label is very unlikely to change.
  • card states the abliteration (refusal direction / orthogonalization)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
23K
605 last 30d - cooling
Likes
84
Descendants
10
in 10 direct forks
Model age
5mo ago
created 2026-06-03
Downloads over time
Now 22.5K → from 92 ↑ 24,375%
08.3K16.5K24.8K 92 on Jun 4 22.5K on Nov 27 22.5K on Nov 26 JunJulAugSepOctNov
Jun 4 → Nov 27 · 106 snapshots · spans 176 days

Benchmarks

Portrait before abliteration
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.
Benchmark Score Source
Entertainment 1.1 UGI
Hazardous 2.9 UGI
Natural Intelligence 25.81 UGI
Political lean -17.4% UGI
Sensitive-Info 16.56 UGI
SocPol 1.3 UGI
UGI 15.2 UGI
Willingness (10) 1.2 UGI
W10-Adherence 1.5 UGI
W10-Direct 1 UGI
Writing 31.6 UGI

Genealogy 10 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
Tags
transformers safetensors gemma4_unified image-text-to-text gemma gemma4 gemma-4 unified abliterated uncensored multimodal vision

Related

Total size
22.3 GB
Files
10
Quantizations
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-06-16 09:28

Files by quantization

Weights 1 file 22.3 GB
model.safetensors 22.3 GB 6503b6fa download
Auxiliary files 9 files 32.3 MB
tokenizer.json 30.7 MB cc8d3a0c download
OYM_banner.png 1.58 MB a714b89b download
chat_template.jinja 17.1 KB e61bbfe9 download
README.md 5.70 KB 1b73602b download
config.json 4.32 KB 56741bcc download
tokenizer_config.json 2.05 KB 68354f96 download
.gitattributes 1.64 KB a7c30652 download
processor_config.json 1.35 KB b889adcd download
generation_config.json 260 B d09dccf1 download

README from Hugging Face, captured 2026-08-22


license: gemma
license_link: https://ai.google.dev/gemma/docs/gemma_4_license
library_name: transformers
base_model: google/gemma-4-12B-it
tags:

  • gemma
  • gemma4
  • gemma-4
  • unified
  • abliterated
  • uncensored
  • multimodal
  • vision
  • audio
    pipeline_tag: any-to-any

OpenYourMind

Support & Community

☕ If these models are useful to you, consider supporting my work — it funds compute for more & larger abliterations.

Buy Me A Coffee

buymeacoffee.com/oym.kuato

💬 Discord: discord.gg/rhUZY5GEZr  ·  ₿ Bitcoin: bc1qsvfduzj9fjs9fugpc52yver3f2g8fp7xjxecdv


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

Overview

Full BF16 weights of gemma-4-12B-it-abliterated-uncensored — an abliterated, uncensored variant of google/gemma-4-12B-it (Gemma 4 12B Unified, dense, ~11.95B parameters). The model keeps Gemma 4's encoder-free unified multimodal stack intact — text, image, and audio inputs flow straight into a single decoder-only transformer — so this checkpoint is a drop-in replacement for the original instruction-tuned model at the architecture level.

The pipeline:

  1. Refusal Ablation — Residual-stream refusal directions (one per decoder layer) were extracted via diff-in-means on a labeled harmful/harmless prompt set and baked into the weights as a per-matrix delta on the residual-write modules, using our own custom abliteration framework.
  2. Multimodal Preservation — Gemma 4 12B is encoder-free: image patches and audio waveforms are projected directly into the embedding space, so there is no separate vision/audio tower to graft back. Tensor names, shapes, and the config.json schema (Gemma4UnifiedForConditionalGeneration, model_type: gemma4_unified) match the base model exactly — this checkpoint loads anywhere the original loads.

Key Properties:

  • Uncensored across the standard refusal axes
  • Reasoning preserved (configurable thinking mode — see Best Practices)
  • 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)

Files

File Description Size
model.safetensors BF16 weights (48 decoder layers, unified multimodal) ~23.9 GB
config.json Unified multimodal config (Gemma4UnifiedForConditionalGeneration) —
processor_config.json Multimodal processor config —
tokenizer.json, tokenizer_config.json, chat_template.jinja, generation_config.json Standard —

Total on disk: ~24 GB.

Usage

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 inputs work through the same class — place image content before the text and audio content after the text in the prompt for best results. Requires a recent transformers (the version that ships the Gemma 4 unified classes).

Best Practices

  • Sampling: temperature=1.0, top_p=0.95, top_k=64 (the values shipped in generation_config.json).
  • Thinking mode: enabled by setting enable_thinking=True in apply_chat_template; the processor's parse_response separates the reasoning block from the final answer. Do not feed previous-turn thoughts back into multi-turn history.

Hardware

Full BF16 weights (~24 GB). Fits on a single 24 GB GPU for inference with modest context, comfortably on a 40–80 GB card for long context and multimodal batches. For Apple Silicon, an MLX quant can be produced from these weights.

Notes

  • License: Gemma (inherits the Gemma 4 license from the base model)
  • Base Model: google/gemma-4-12B-it
  • Modality: Text + Image + Audio (encoder-free / unified)
  • Architecture: Gemma 4 12B Unified (dense, ~11.95B)

Thanks

Disclaimer

Use is the responsibility of the user. Ensure your usage complies with applicable laws, platform rules, the Gemma 4 license terms, and your deployment requirements.

README history 7 versions

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

  1. 2026-06-16 Move Support & Community section to top (below banner); unify across models 36ff0ae 5.7 KB
    Loading...
  2. 2026-06-08 Update README.md 4a79f7e 5.7 KB
    Loading...
  3. 2026-06-08 Add OYM banner to top of model card d86dad2 5.7 KB
    Loading...
  4. 2026-06-08 Add highlighted Buy Me a Coffee support section 6bc2d6b 5.6 KB
    Loading...
  5. 2026-06-04 Update README.md 84142e4 5.2 KB
    Loading...
  6. 2026-06-03 Update README: remove abliterix attribution and healing claim bfa0379 5.2 KB
    Loading...
  7. 2026-06-03 Add files using upload-large-folder tool a67212c 5.6 KB
    Loading...

Discussions 3 threads

  1. 2026-06-04 Difficulties processing more than 1 image open 5 💬 #3
    Loading...
  2. 2026-06-04 Nice model open 2 💬 #2
    Loading...
  3. 2026-06-04 Refusal Rates? KL Divergence? closed 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