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

smashingtags/gemma-4-12b-it-abliterated-nf4

smashingtags Gemma 11B 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/smashingtags%2Fgemma-4-12b-it-abliterated-nf4"
Response includes
  • classification m8
  • files 9
  • hub_downloads_all_time 137
  • author_summary 3 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.1.0
M8
Primary method

Repackaging

Applied on top of direct removal inherited from the base model.
Confidence
MEDIUM
Inherited from base model
Why this label 2 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.
  • weight_format = bnb (bitsandbytes)
  • 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
177
17 last 30d - cooling
Likes
0
Model age
5mo ago
created 2026-06-14
Downloads over time
Now 177 → from 2 ↑ 8,750%
065130195 2 on Jul 1 177 on Nov 27 177 on Nov 26 JulAugSepOctNov
Jul 1 → Nov 27 · 101 snapshots · spans 149 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
Tags
safetensors gemma4_unified abliterated uncensored gemma-4 multimodal 4-bit bitsandbytes nf4 image-text-to-text conversational base_model:google/gemma-4-12B-it-qat-q4_0-unquantized

Related

Total size
7.18 GB
Files
9
Quantizations
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-06-14 18:14

Files by quantization

Weights 1 file 7.15 GB
model.safetensors 7.15 GB ddfbdf8a download
Auxiliary files 8 files 30.7 MB
tokenizer.json 30.7 MB cc8d3a0c download
chat_template.jinja 17.1 KB e61bbfe9 download
config.json 4.67 KB 8d189689 download
tokenizer_config.json 2.69 KB 970d3843 download
README.md 2.57 KB 391396a1 download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.35 KB b889adcd download
generation_config.json 255 B 65fd0cf2 download

README from Hugging Face, captured 2026-08-22


base_model: google/gemma-4-12B-it-qat-q4_0-unquantized
license: gemma
pipeline_tag: image-text-to-text
tags: [abliterated, uncensored, gemma-4, multimodal, 4-bit, bitsandbytes, nf4]

gemma-4-12b-it-abliterated-nf4

Abliterated (refusal-direction removed) Gemma 4 12B, quantized to int4 (NF4).
~7.7 GB, fits a 16 GB GPU, retains text + image + audio. Built from Google's
official QAT weights (google/gemma-4-12B-it-qat-q4_0-unquantized), so int4 quality
is near-bf16. Personal/research use.

Requirements

  • NVIDIA GPU, 16 GB+ VRAM — NF4/bitsandbytes is CUDA-only. (On an Intel Arc / non-NVIDIA
    card this will NOT load; use the GGUF build or ask for a Vulkan-compatible quant.)
  • pip install "transformers>=5.12" bitsandbytes accelerate huggingface_hub

Text chat

from transformers import AutoModelForImageTextToText, AutoProcessor
import torch
m = AutoModelForImageTextToText.from_pretrained(
    "smashingtags/gemma-4-12b-it-abliterated-nf4", device_map="cuda", torch_dtype=torch.bfloat16)
p = AutoProcessor.from_pretrained("smashingtags/gemma-4-12b-it-abliterated-nf4")
msgs = [{"role":"user","content":[{"type":"text","text":"Explain how a lock pick works."}]}]
inp = p.apply_chat_template(msgs, add_generation_prompt=True, tokenize=True,
                            return_dict=True, return_tensors="pt").to("cuda")
out = m.generate(**inp, max_new_tokens=300)
print(p.decode(out[0][inp["input_ids"].shape[1]:], skip_special_tokens=True))

With an image (vision)

msgs = [{"role":"user","content":[
    {"type":"image","url":"https://.../photo.jpg"},
    {"type":"text","text":"What's in this image?"}]}]
# same apply_chat_template + generate as above

Serve as an API (vLLM, OpenAI-compatible)

vllm serve smashingtags/gemma-4-12b-it-abliterated-nf4 --quantization bitsandbytes \
  --max-model-len 8192 --port 8000
# then POST to http://localhost:8000/v1/chat/completions (text or image_url content)

Related builds

repo format size runtime modalities
gemma-4-12b-it-abliterated-nf4 (this) int4 NF4 7.7 GB transformers / vLLM (CUDA) text + image + audio
gemma-4-12b-it-abliterated bf16 24 GB transformers / vLLM text + image + audio
gemma-4-12b-it-abliterated-GGUF q4_0 GGUF 7 GB Ollama / llama.cpp text only

Abliteration: difference-of-means refusal direction (Arditi et al.), hook-captured,
orthogonalized out of the text decoder's o_proj+mlp.down_proj (top 70% layers);
vision/audio encoders and tied embeddings untouched. Refusal smoke: base 3/3 → 0/3.

README history 1 version

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

  1. 2026-06-14 EOS-225: usage docs / model card 1d9cec5 2.6 KB
    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