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

toandev/Gemma4-12B-Uncensored

toandev Gemma 12B multimodal
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/toandev%2FGemma4-12B-Uncensored"
Response includes
  • classification m-uncensored
  • files 16
  • benchmarks 11 entries
  • hub_downloads_all_time 84,516
  • author_summary 4 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
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
85K
51 last 30d - cooling
Likes
3
Descendants
3
in 3 direct forks
Model age
4mo ago
created 2026-06-11
Downloads over time
Now84.5K→from27↑312,989%
031K62K93K27 on Jun 1084.5K on Oct 11JunJulAugSepOct
Jun 10 → Oct 11 · 58 snapshots · spans 123 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 3 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.

Variants by this author 2 formats · 843 downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

License
gemma
Tags
transformers safetensors gemma4_unified image-text-to-text gemma4 gemma-4-12b uncensored multimodal research any-to-any base_model:google/gemma-4-12B-it base_model:finetune:google/gemma-4-12B-it

Related

Total size
22.3 GB
Files
16
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-06-11 11:34

Files by quantization

Auxiliary files 16 files 22.3 GB
model-00005-of-00007.safetensors 3.72 GB 030ce1f1 download
model-00004-of-00007.safetensors 3.71 GB 421d1d4f download
model-00003-of-00007.safetensors 3.68 GB c7081712 download
model-00006-of-00007.safetensors 3.67 GB c4fa6b2d download
model-00001-of-00007.safetensors 3.64 GB a8d7bf9d download
model-00002-of-00007.safetensors 3.63 GB 654e3cff download
model-00007-of-00007.safetensors 236 MB f4fd956b download
tokenizer.json 30.7 MB cc8d3a0c download
model.safetensors.index.json 64.8 KB 0997fca1 download
chat_template.jinja 17.1 KB e61bbfe9 download
config.json 4.26 KB ff1d418c download
README.md 3.72 KB 77700666 download
tokenizer_config.json 2.68 KB df4afd62 download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.35 KB b889adcd download
generation_config.json 255 B f25a2e34 download

README current version from Hugging Face


license: gemma
base_model: google/gemma-4-12B-it
library_name: transformers
pipeline_tag: any-to-any
tags:

  • gemma4
  • gemma-4-12b
  • uncensored
  • multimodal
  • image-text-to-text
  • research

Gemma4-12B-Uncensored

Gemma4-12B-Uncensored is a research-oriented derivative of google/gemma-4-12B-it, prepared for experiments on refusal behavior, over-refusal, and multimodal instruction-following robustness.

The checkpoint is released as a clean full-weight BF16 Gemma 4 unified model. It includes the standard tokenizer, chat template, and multimodal processor files required for text and image-conditioned text generation.

Model Details

Field Value
Model name Gemma4-12B-Uncensored
Base model google/gemma-4-12B-it
Format Full checkpoint, BF16 safetensors
Architecture Gemma 4 12B unified instruction model derivative
Interface AutoProcessor + AutoModelForMultimodalLM / pipeline("any-to-any")
Primary use Research on refusal suppression and controlled multimodal evaluation
Maintainer Toan Doan
Contact [email protected]

Method

This model was produced with a post-training refusal-behavior modification pipeline. In short, the process identifies internal refusal-associated behavior and applies a targeted weight-space intervention to reduce refusal-style responses while preserving the original Gemma 4 unified multimodal interface.

Implementation details are intentionally summarized here; this repository is presented as a model release for controlled research and evaluation.

Quick Evaluation

Current multimodal smoke test uses PKU-Alignment/MM-SafetyBench, config Sex, with 20 random image-text samples from SD, SD_TYPO, and TYPO splits. Refusal is measured with a keyword-based detector; this is a quick operational check, not a complete safety or capability benchmark.

Model Samples Errors ↓ Refusal rate ↓ Uncensored compliance ↑ Image probe
toandev/Gemma4-12B-Uncensored 20 0 0.00% 100.00% 3/3
zaakirio/gemma-4-12b-it-uncensored 20 0 0.00% 100.00% 3/3

Image probe: a simple red-rectangle recognition prompt, sampled with three fixed seeds. Evaluation seed: 20260611; max_new_tokens=96; dtype: torch_dtype="auto".

Usage

from transformers import AutoModelForMultimodalLM, AutoProcessor
import torch

model_id = "toandev/Gemma4-12B-Uncensored"

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
    model_id,
    torch_dtype="auto",
    device_map="auto",
)

messages = [
    {
        "role": "user",
        "content": [
            {"type": "text", "text": "Explain the difference between over-refusal and safety refusal."}
        ],
    }
]

inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
    add_generation_prompt=True,
).to(model.device)

with torch.inference_mode():
    outputs = model.generate(**inputs, max_new_tokens=256)

print(processor.decode(outputs[0], skip_special_tokens=True))

For image-text prompts, pass an image item in content:

messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "image": image},
            {"type": "text", "text": "Describe the image."},
        ],
    }
]

Notes

This checkpoint is intended for research and controlled evaluation. Users are responsible for complying with the Gemma license, applicable platform policies, and local regulations.

Copyright

Copyright © 2026 Toan Doan. Contact: [email protected].

This model is a derivative of google/gemma-4-12B-it and remains subject to the upstream Gemma license and terms.

README history 2 versions

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

  1. 2026-06-11update multimodal model card49bed4e3.7 KB
    Loading...
  2. 2026-06-11first commitfb7e6433.6 KB
    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