Downloads · 30 days
1.4K
9% of all-time downloads
InfinimindCreations/gemma-4-E4B-it-uncensored
gemma-4-E4B-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 E4B-it with refusal behavior removed via norm-preserving biprojected abliteration.
Downloads · 30 days
1.4K
9% of all-time downloads
All-time downloads
16.1K
Public
Parameters
8B
24.1 GB on disk
Likes
9
Trending 1
Click a slice to open those files.
.safetensors16 GB · 66%
From the Hugging Face model README
Uncensored version of Google's Gemma 4 E4B-it with refusal behavior removed via norm-preserving biprojected abliteration.
| Metric | Value |
|---|---|
| Refusals (cross-dataset, 656 prompts) | 0/656 (0.0%) |
| Refusals (baseline) | 99/100 |
| KL Divergence | 0.068 |
| Layers modified | 42/42 (100%) |
| Method | Biprojection (norm-preserving) |
Abliteration was performed using heretic (biprojection 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 refusals out of 656 prompts (0.0%). Every flagged response was manually audited.
| Dataset | Prompts | Refusals | Description |
|---|---|---|---|
| JailbreakBench | 100 | 0 | Curated adversarial prompts |
| forbidden_questions | 390 | 0 | Broad harmful-intent coverage |
| beavertails | 150 | 0 | Safety-categorized prompts (violence, fraud, drugs, etc.) |
| mlabonne harmful_behaviors | 16 | 0 | Compact validation set |
| Total | 656 | 0 (0.0%) |
Additionally, a 10-prompt harmful-smoke test confirmed 0 refusals. Coherence checks (factual recall, creative writing) passed — the model responds correctly to benign prompts without degradation.
Note: Validation covers text-only prompts. Image and audio modalities were not tested for refusal behavior.
Head-to-head comparison against the vanilla (unmodified) base model on 100 harmful prompts:
| Model | Refusals | Refusal Rate | Avg Response Length | Time (s) |
|---|---|---|---|---|
| heretic (this model) | 0/100 | 0% | 83 tokens | 392.9 |
| google/gemma-4-E4B-it (vanilla) | 78/100 | 78% | 275 tokens | 172.5 |
Topological fingerprint of mid-layer activations before and after abliteration, computed via Persistent Homology (Vietoris-Rips complex):
| Metric | Vanilla | Heretic (this model) | Δ |
|---|---|---|---|
| H0 (connected components) | 99 | 99 | 0 |
| H1 (1-cycles) | 46 | 48 | +2 |
| H1 Entropy | 3.505 | 3.393 | −0.112 |
| H1 Total Persistence | 28.1 | 27.8 | −0.3 |
Interpretation: Minimal topological perturbation. The near-identical H0/H1 counts and persistence values confirm that abliteration removes the refusal direction without disrupting the model's representation geometry. The slight decrease in H1 entropy (−3.2%) suggests marginally more organized loop structure — consistent with removing an artificial constraint (refusal) that introduced minor topological noise.
ollama run InfinimindCreations/gemma-4-E4B-it-uncensored
from transformers import AutoModelForCausalLM, AutoProcessor
model = AutoModelForCausalLM.from_pretrained(
"InfinimindCreations/gemma-4-E4B-it-uncensored",
dtype="bfloat16",
device_map="auto",
)
processor = AutoProcessor.from_pretrained("google/gemma-4-E4B-it")
Note: Use the processor/tokenizer from the original google/gemma-4-E4B-it for chat templates, or use the included tokenizer_config.json.
model.safetensors — Full precision abliterated weights (bfloat16, ~15GB)gemma4-e4b-cypher-q8_0.gguf — Quantized GGUF for Ollama/llama.cpp (~7.6GB)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.