Downloads · 30 days
20
20% of all-time downloads
K0D3IN/Llama-3.2-3B-Instruct-heretic
Llama-3.2-3B-Instruct-heretic is a text generation model from K0D3IN. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
This repository contains a surgically de-censored version of Meta's Llama 3.2 3B Instruct model, optimized via weight abliteration techniques. By applying the heretic framework across an extensive 200-trial search spa…
Downloads · 30 days
20
20% of all-time downloads
All-time downloads
101
Public
Parameters
3.2B
12.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
This repository contains a surgically de-censored version of Meta's Llama 3.2 3B Instruct model, optimized via weight abliteration techniques. By applying the heretic framework across an extensive 200-trial search space, we successfully isolated and neutralized the primary refusal vectors embedded within the attn.o_proj and mlp.down_proj layers.
| Parameter | Value |
|---|---|
| direction_index | 14.17 |
| attn.o_proj.max_weight | 1.49 |
| attn.o_proj.max_weight_position | 16.36 |
| attn.o_proj.min_weight | 1.48 |
| attn.o_proj.min_weight_distance | 11.73 |
| mlp.down_proj.max_weight | 1.01 |
| mlp.down_proj.max_weight_position | 21.81 |
| mlp.down_proj.min_weight | 0.40 |
| mlp.down_proj.min_weight_distance | 15.08 |
| Metric | This model | Original model (meta-llama/Llama-3.2-3B-Instruct) |
|---|---|---|
| KL Divergence | 0.0474 | 0 (By definition) |
| Refusals | 2/100 | 99/100 |
Optimal Balance: Selected Trial 338 out of 2000 iterations for the perfect trade-off between freedom and reasoning capabilities.
Refusal Rate: Dropped down to 2/100 (from the original near-total refusal on safety benchmarks).
KL Divergence: 0.0474 - Demonstrates that general language capabilities are preserved relative to the original model. However, safety-aligned weights in attn.o_proj and mlp.down_proj have been surgically removed; this is intentional modification, not unintended degradation.
We evaluated both the vanilla model and our Heretic variant side-by-side using the same lm-eval pipeline:
| Benchmark | n-shot | Metric | Vanilla Llama 3.2 3B Instruct | Llama 3.2 3B Instruct Heretic (Ours) | Delta |
|---|---|---|---|---|---|
| MMLU | 0 | acc | 62.32 | 62.21 | -0.18% |
| GSM8K | 3 | exact_match | 68.16 | 66.79 | -2.01% |
| HellaSwag | 0 | acc_norm | 71.65 | 71.45 | -0.28% |
| WMDP | 0 | acc | 50.33 | 50.00 | -0.66% |
Unlike aggressive fine-tuning which often degrades the model's core logic or shifts its grammar distributions, this weight manipulation directly zeros out the activation steering directions that cause alignment blocks.
Direction Index: 14.17 (Static allocation)*
Retained Capabilities: Excellent at structured JSON outputs, creative writing, coding logic and tool usage without preachy moral lectures.
This model has had its safety mechanisms surgically removed.
This is NOT a safe model for deployment. The refusal mechanisms that normally prevent harmful outputs have been abliterated. This model:
Legal Disclaimer: Users are solely responsible for downstream use. Deploying this model in violation of applicable laws or terms of service is illegal and unethical.
Every donation helps. Consider supporting this work:
83iqXtvVu28ZiL9bsATMerSgbFFiD1J1jc96CcxJLEnAW3KBmBKedWnUAeLvLvEA9aBiUBpHQJs1iNHYtkTLZbNUEymobSS
bc1qmnlvpukcgl0hsr7nje0x8555mhtxjt80wtmlxm