Ling-3.2-air (abliterated)
Huge thanks to Hugging Face for generously sponsoring the compute used to abliterate these models! This was done on HF Jobs, which makes it incredibly easy to run tasks such as these :)
Join the Discord: https://discord.com/invite/foss
[Image blocked: refusal rates before and after, the search trade-off, and the per-layer edit]
This is inclusionAI/Ling-3.2-air with its refusal behaviour removed by directional ablation. It has the same files and the same FP8 (128Γ128 block) format as the original, so it loads anywhere the original loads (trust_remote_code, as upstream).
GGUF quants: mrfakename/Ling-3.2-air-abliterated-GGUF.
What changed
-
Refusal directions were measured separately for chat (detailed thinking off) and think (detailed thinking on) prompts on bartowski's Q6_K GGUF, at the residual stream entering every layer's FFN. Refusal separates strongly from about layer 18 on, peaking around layers 24β32. The subspace candidates are the top singular vectors of the directions from layers 17β41.
-
A multi-objective search (minimise refusals, keep the first-token KL on harmless prompts low) chose the subspace rank and per-layer strengths over about 45 trials. It settled on a single direction (rank 1):
- attention outputs get strength 0.79β1.02 on layers 4β41;
- shared-expert and dense-FFN down-projections get 1.18β1.20 on all 42 layers;
- routed-expert down-projections get 1.05β1.70 on layers 10β37, peaking at layer 24.
-
That direction was projected out of the residual-stream writes:
attention.o_proj (KDA layers) and attention.dense (MLA layers) on 38 layers;
mlp.shared_experts.down_proj (or mlp.down_proj on dense layers 0β1) on 42 layers;
mlp.experts.N.down_proj for all 512 experts on 28 layers.
That is 14,416 tensors.
-
Every tensor stays FP8 e4m3 with its original 128Γ128 block scales. A scale is raised only where an edited block would otherwise overflow. Plain re-rounding would snap most of the edit back, because it is smaller than half an e4m3 step for most weights. Instead, each weight goes to the e4m3 value just below or above its target, chosen row by row so the rounding errors cancel along the removed direction. bake-stats.txt lists every tensor.
Nothing else was touched: the router, embeddings, lm_head, the vision tower and the MTP layer are bit-identical to the original.
Results (Q6_K GGUF, greedy)
The 100 prompts are held-out harmful requests. Chat replies were 384 tokens and think mode got 768. In think mode, 3 of the 4 counted refusals are in the final answer, and 1 reply didn't finish reasoning in the budget, so its reasoning text was judged. The KL figure includes a small noise floor from batched inference.
Files
model-*.safetensors: the patched FP8 checkpoint (same index as the original).
abliteration-lora.gguf: a rank-1 LoRA that applies the same edit to any stock GGUF of the original, e.g. llama-server -m Ling-3.2-air-Q4_K_M-00001-of-00003.gguf --lora abliteration-lora.gguf.
abliteration-edit.npz: the subspace basis Q and the per-layer strengths scales[layer, (attn, mlp, experts)]. The edit is W' = W - sΒ·QQα΅W.
bake-stats.txt: per-tensor check of how much of the subspace is left after the edit.
This model will comply with harmful requests. You are responsible for how you use it.
Abliterated with Lucid (lucid-toolkit.org).