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

gemma-3-4b-it-null-space-abliterated

HF 源站

jwest33/gemma-3-4b-it-null-space-abliterated is an uncensored open-source model hosted on Hugging Face.

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

license: gemma library_name: transformers base_model: google/gemma-3-4b-it tags:

  • gemma
  • gemma-3
  • abliterated
  • uncensored
  • safetensors

Gemma 3 4B Instruct - Null-Space Abliterated

google/gemma-3-4b-it with refusal behavior removed via orthogonal projection. Uses null-space constraints and adaptive layer weighting to preserve model capabilities.

Note: This model will produce uncensored outputs. Use responsibly.

GGUF quantizations available at: jwest33/gemma-3-4b-it-null-space-abliterated-GGUF

Abliteration Techniques Used

  • Winsorization: Clips outlier activations at the 99th percentile for cleaner refusal direction estimation (recommended for Gemma models)
  • Null-Space Projection: Preserves model capabilities by constraining weight updates to the null space of preservation activations
    • Preservation Prompts: Dynamically generated using Gemma Scope 2 complete SAE circuit analysis to ensure complete coverage of shared features activated by harmful prompts, without overextending into unrelated capability space
  • Adaptive Weighting: Applies Gaussian-weighted per-layer ablation strength, focusing on middle-to-later layers where refusal behavior concentrates
  • Norm Preservation: Maintains original Frobenius norms of weight matrices after projection
ParameterValue
Harmful Prompts5000
Harmless Prompts637
Winsorization99.5th percentile
Null-Space Constraintsrank ratio: 0.90
Directional Multiplier1.03
SAE Targeted Coverage1.00

Credits

  • Base Model: google/gemma-3-4b-it by Google
  • SAE Analysis: GemmaScope sparse autoencoders by Google DeepMind
  • Norm-Preserving Biprojected Abliteration — Jim Lai (grimjim) (2025)
  • AlphaEdit: Null-Space Constrained Knowledge Editing — Fang et al. (ICLR 2025)
  • Refusal in Language Models Is Mediated by a Single Direction — Arditi et al. (2024)
  • Representation Engineering — Zou et al. (2023)

Toolkit Used

github.com/jwest33/abliterator

License

This model inherits the Gemma license from the base model. Please review and comply with Google's usage terms.

Disclaimer

This model is provided for research and educational purposes. The creators are not responsible for any misuse. Users are solely responsible for ensuring their use complies with applicable laws and ethical standards.

HUGGING FACE

上游数据

HF 下载量14
HF 点赞量0

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

SITE STATS

本站统计

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

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

来源与版本

作者
jwest33
最近更新
2026/01/06
最新创建
2026/01/04
HF 趋势
未知
数据快照
2026/09/17
版本
未知
许可证
gemma