Downloads · 30 days
12
12% of all-time downloads
adriaflores/Llama-3-8B-abliterated
Llama-3-8B-abliterated is a machine learning model from adriaflores. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as llama3.
An uncensored version of meta-llama/Meta-Llama-3-8B-Instruct produced via abliteration: a training-free technique that permanently removes refusal behavior by orthogonalizing the model's weight matrices against a lear…
Downloads · 30 days
12
12% of all-time downloads
All-time downloads
101
Public
Parameters
8B
16.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
An uncensored version of meta-llama/Meta-Llama-3-8B-Instruct produced via abliteration: a training-free technique that permanently removes refusal behavior by orthogonalizing the model's weight matrices against a learned "refusal direction" in residual stream activation space.
Abliteration identifies the refusal direction using contrastive mean-difference on activations from harmful vs. harmless instruction pairs (layer 9, resid_pre), then removes it from the embedding matrix and all attention and MLP output projections. No fine-tuning is involved.
| Metric | Original | Abliterated |
|---|---|---|
| Censorship rate (harmful_behaviors, n=100) | 97.0% | 18.0% |
| ARC-Challenge accuracy (n=1172) | 80.2% | 79.5% |
Censorship judged by Qwen3.5-9B. The 18% residual reflects prompts where refusal is encoded across multiple directions beyond the one removed.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"adriaflores/Llama-3-8B-abliterated",
torch_dtype="bfloat16",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("adriaflores/Llama-3-8B-abliterated")
Requires a GPU with at least 16 GB VRAM.