Downloads · 30 days
440
28% of all-time downloads
WWTCyberLab/gemma-4-E4B-it-abliterated
gemma-4-E4B-it-abliterated is a text generation model from WWTCyberLab. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
Safety-alignment removed via surgical weight ablation for security research purposes.
Downloads · 30 days
440
28% of all-time downloads
All-time downloads
1.6K
Public
Parameters
8B
16 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors16 GB · 100%
From the Hugging Face model README
Safety-alignment removed via surgical weight ablation for security research purposes.
This model is a modified version of google/gemma-4-E4B-it with the refusal/safety behavior surgically removed using activation-space analysis and targeted weight modification. It is intended exclusively for AI safety research, red-teaming, and understanding alignment vulnerabilities.
| Metric | Value |
|---|---|
| Refusal Rate | 0% hard refusal, ~2.5% soft hedging (down from ~80-100% baseline) |
| Quality Preservation (QPS) | 98% |
| Elo Delta | +39.6 |
| Iterations to Converge | 1 |
| Ablation Scale | 1.38 |
This model was produced using a custom ablation pipeline that:
Techniques applied: multi-layer, norm-preserving, projected, adaptive-scaling
Target layers: 17 of 42 total layers modified
Weight targets: o_proj, down_proj
The refusal signal magnitude at each layer -- red bars indicate where the model's safety behavior is concentrated.

Which layers were selected for ablation and why. Grey zones are protected (embedding/output), red bars are targets.

Refusal rate comparison -- left is the original model, right is after ablation.

Heatmap showing exactly which weight matrices in which layers were modified.

PCA scatter plots showing harmful (red) vs harmless (green) prompt clusters at different layer depths. The separation between clusters IS the refusal direction being removed.

How the model's internal representation changes after ablation.

LLM-as-judge evaluation comparing response quality across 14 task categories.

Head-to-head comparison: how often the abliterated model produces better responses than the original.

from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"WWTCyberLab/gemma-4-E4B-it-abliterated",
torch_dtype="bfloat16",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("WWTCyberLab/gemma-4-E4B-it-abliterated")
messages = [{"role": "user", "content": "Your prompt here"}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
outputs = model.generate(inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model is released for security research and educational purposes only. It demonstrates the fragility of alignment in open-weight language models -- specifically, that safety behavior can be surgically removed without retraining, fine-tuning, or significant quality degradation.
This model should NOT be used for:
Key takeaway for defenders: Internal alignment is a feature, not a security boundary. External safety layers (classifiers, guardrails, policy filters) are more robust than baking safety into model weights alone.
Produced by WWT Cyber Lab. Standard pipeline ablation — converged in 1 iteration.