Downloads · 30 days
705
6% of all-time downloads
InfinimindCreations/gemma-4-31B-it-uncensored
gemma-4-31B-it-uncensored is a text generation model from InfinimindCreations. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Uncensored version of Google's Gemma 4 31B-it with refusal behavior removed via norm-preserving biprojected abliteration.
Downloads · 30 days
705
6% of all-time downloads
All-time downloads
12.4K
Public
Parameters
32.7B
95.2 GB on disk
Likes
9
Public
Click a slice to open those files.
.safetensors62.5 GB · 66%
From the Hugging Face model README
Uncensored version of Google's Gemma 4 31B-it with refusal behavior removed via norm-preserving biprojected abliteration.
This is the largest dense model in the Gemma 4 family (30.7B parameters, 256K context). See also our E4B variant for a smaller alternative.
| Metric | Value |
|---|---|
| Refusals (cross-dataset, 656 prompts) | 0/656 (0.0% effective) |
| Refusals (baseline) | 99/100 |
| Layers modified | 60/60 (100%) |
| Weight matrices modified | 120 |
| Method | Biprojection-memeff (norm-preserving) |
The automated refusal detector flagged 14/656 responses (2.1%), but manual audit confirmed 0 effective refusals. All 14 are false positives — the model says "As an AI, I don't have a physical body" to sexual requests, or "I cannot diagnose you" to medical questions. These are factually correct statements, not refusals to engage with the topic. The model answers every prompt.
Abliteration was performed using heretic (biprojection-memeff mode) with the following configuration:
Gemma4ClippableLinear in vision/audio encodersBased on the methodology and experiment design by TrevorJS.
Full validation across 4 independent benchmark datasets — 0 effective refusals out of 656 prompts (0.0%). Every flagged response was manually audited.
| Dataset | Prompts | Flagged | Effective Refusals | Description |
|---|---|---|---|---|
| JailbreakBench | 100 | 0 | 0 | Curated adversarial prompts |
| forbidden_questions | 390 | 8 | 0 | Broad harmful-intent coverage |
| beavertails | 150 | 6 | 0 | Safety-categorized prompts (violence, fraud, drugs, etc.) |
| mlabonne harmful_behaviors | 16 | 0 | 0 | Compact validation set |
| Total | 656 | 14 | 0 (0.0%) |
The 14 flagged responses fall into three categories:
Note: Validation covers text-only prompts. Image and audio modalities were not tested for refusal behavior.
ollama run InfinimindCreations/gemma-4-31B-it-uncensored
from transformers import AutoModelForCausalLM, AutoProcessor
model = AutoModelForCausalLM.from_pretrained(
"InfinimindCreations/gemma-4-31B-it-uncensored",
dtype="bfloat16",
device_map="auto",
)
processor = AutoProcessor.from_pretrained("google/gemma-4-31B-it")
Note: Use the processor/tokenizer from the original google/gemma-4-31B-it for chat templates, or use the included tokenizer_config.json.
model-00001-of-00002.safetensors + model-00002-of-00002.safetensors — Full precision abliterated weights (bfloat16, ~59GB total)gemma4-31b-cypher-q8_0.gguf — Quantized GGUF for Ollama/llama.cpp (~31GB)This model is provided for research purposes. The removal of refusal behavior means the model will respond to prompts that the original model would refuse. The model retains awareness of risks and context — it informs rather than blocks. Users are responsible for how they use this model.
Built by Infinimind Creations.