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

gemma-3-27b-it-abliterated

HF 源站

mlabonne/gemma-3-27b-it-abliterated is an uncensored open-source model hosted on Hugging Face.

Image-Text-to-TextsafetensorsLicense: gemma27Btransformersgemma3conversationaltext-generation-inference
README.md说明 / 使用方法

license: gemma library_name: transformers pipeline_tag: image-text-to-text base_model: google/gemma-3-27b-it

💎 Gemma 3 27B IT Abliterated

image/png

This is an uncensored version of google/gemma-3-27b-it created with a new abliteration technique. See this article to know more about abliteration.

I was playing with model weights and noticed that Gemma 3 was much more resilient to abliteration than other models like Qwen 2.5. I experimented with a few recipes to remove refusals while preserving most of the model capabilities.

Note that this is fairly experimental, so it might not turn out as well as expected.

I recommend using these generation parameters: temperature=1.0, top_k=64, top_p=0.95.

⚡️ Quantization

  • GGUF: https://huggingface.co/mlabonne/gemma-3-27b-it-abliterated-GGUF

✂️ Layerwise abliteration

image/png

In the original technique, a refusal direction is computed by comparing the residual streams between target (harmful) and baseline (harmless) samples.

Here, the model was abliterated by computing a refusal direction based on hidden states (inspired by Sumandora's repo) for each layer, independently. This is combined with a refusal weight of 1.5 to upscale the importance of this refusal direction in each layer.

This created a very high acceptance rate (>90%) and still produced coherent outputs.

HUGGING FACE

上游数据

HF 下载量3244
HF 点赞量337

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

SITE STATS

本站统计

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

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

来源与版本

作者
mlabonne
最近更新
2025/03/21
最新创建
2025/03/16
HF 趋势
未知
数据快照
2026/09/23
版本
未知
许可证
gemma