玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
adriaflores /

Llama-3-8B-abliterated

HF 源站

adriaflores/Llama-3-8B-abliterated is an uncensored open-source model hosted on Hugging Face.

safetensorsEnglishLicense: llama38Bllamaabliterationuncensoredmechanistic-interpretability
README.md说明 / 使用方法

base_model: meta-llama/Meta-Llama-3-8B-Instruct language:

  • en license: llama3 tags:
  • abliteration
  • uncensored
  • mechanistic-interpretability
  • llama-3

Llama-3-8B-abliterated

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.

Method

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.

Evaluation

MetricOriginalAbliterated
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.

Usage

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.

Limitations

  • Residual refusal on a subset of harmful prompts (~18%) suggests the technique does not fully suppress all refusal-related circuitry.
  • Capability impact is negligible (0.7% ARC-Challenge delta), but has not been evaluated on other benchmarks.
  • Intended for research use. The user is responsible for evaluating suitability for any downstream application.
HUGGING FACE

上游数据

HF 下载量8
HF 点赞量2

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
adriaflores
最近更新
2026/05/03
最新创建
2026/05/02
HF 趋势
未知
数据快照
2026/09/17
版本
未知
许可证
llama3