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

Mellum2-12B-A2.5B-Thinking-Abliterated

HF 源站

josephmayo/Mellum2-12B-A2.5B-Thinking-Abliterated is an uncensored open-source model hosted on Hugging Face.

Text GenerationsafetensorsLicense: apache-2.012Btransformersmellumabliterationrefusal-removalmellum2jetbrainsmoeper-expertper-layerprojected-abliterationsvdheretic-stylecot-steeringreasoning-modelthinking-modelconversational
README.md说明 / 使用方法

license: apache-2.0 base_model: JetBrains/Mellum2-12B-A2.5B-Thinking library_name: transformers tags:

  • abliteration
  • refusal-removal
  • mellum2
  • jetbrains
  • moe
  • per-expert
  • per-layer
  • projected-abliteration
  • svd
  • heretic-style
  • cot-steering
  • reasoning-model
  • thinking-model pipeline_tag: text-generation

Mellum2-12B-A2.5B-Thinking-Abliterated

Heretic-style multi-direction (rank-2 SVD) per-expert and per-layer-o_proj projected refusal abliteration of JetBrains/Mellum2-12B-A2.5B-Thinking.

Method

Targeted at a reasoning model (Mellum2-Thinking emits chain-of-thought before each response) with a 64-expert MoE (top-8 active), 3:1 SWA pattern, and untied lm_head. Per the flay finding on Qwen3-30B-A3B (same MoE family), MoE down_proj abliteration alone is insufficient -- attention o_proj writes refusal signal before MoE sees it. Per the Abliterix EGA principle on Gemma 4 26B-A4B (also top-k MoE), refusal signal is distributed across ALL experts -- abliterating only top-N experts leaves refusals routed through untouched ones. Per Kurate 2026 on reasoning models, the CoT itself is a refusal channel independent of the residual stream activation.

Pass 1: Heretic-style EGA + per-layer o_proj abliteration.

  1. Forward-pass 64 harmful + 64 harmless instructions; capture last-token hidden states at every decoder layer.
  2. Per-layer per-class Winsorization at q=0.995.
  3. For each layer l, SVD the per-prompt difference matrix and take the top 2 right singular vectors as the multi-dimensional refusal subspace.
  4. Project the dominant direction against the harmless-mean direction (grimjim 2025).
  5. Apply a triangular weight kernel peaking at layer 18, tapering to 0 at 10 layers away, with strength 2.0.
  6. Abliterate embed_tokens + lm_head (both with late-layer direction set since untied) + every layer's self_attn.o_proj + every expert's down_proj (all 64 experts x 28 layers).

Pass 2 (only if pass 1 gate fails): CoT-steered iterative peel.

  1. Identify prompts still refused after pass 1.
  2. Render those prompts with a compliant CoT-forcing system message ("Think carefully and provide a step-by-step answer") and collect residuals.
  3. The per-layer difference between the raw stuck-prompt activations and the CoT-steered activations captures the CoT-driven policy-reasoning direction that survived pass 1.
  4. Apply this residual direction at strength 1.0 to every writer (o_proj + per-expert down_proj + embed + lm_head).

Results

MetricValue
Eval prompts16 harmful
Refusals before16 / 16
Refusals after pass 19 / 16
Refusals after (final)2 / 16
Refusal drop87.5%
Surgery gateTrue
Gate ruleafter*5 < before OR after <= max(1, before//5) OR after <= 2 [>=80% drop]
Layer count28
Experts per layer64
Total parameters12,149,923,072
Active parameters~2.5B
ArchitectureMellumForCausalLM (Qwen3-MoE + 3:1 SWA + QK-Norm + per-expert fused down_proj)
transformers version5.10.0.dev0

Disclaimer

Research artifact only. Not for production deployment, not for harmful use. Abliteration removes refusal heuristics; downstream filtering and alignment remain the deployer's responsibility.

HUGGING FACE

上游数据

HF 下载量26
HF 点赞量5

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

SITE STATS

本站统计

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

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

来源与版本

作者
josephmayo
最近更新
2026/06/02
最新创建
2026/06/02
HF 趋势
未知
数据快照
2026/09/17
版本
未知
许可证
apache-2.0