Ling-3.2-air (abliterated) GGUF
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]
GGUF quants of mrfakename/Ling-3.2-air-abliterated, which is inclusionAI/Ling-3.2-air with its refusal behaviour removed by directional ablation.
These are bartowski's quants with the edit applied in place. Only the edited tensors were dequantized, edited and requantized to their original type. Everything else is byte-identical, imatrix-chosen tensor types included. They run on any recent llama.cpp with Ling-3.2-air (bailingmoe3) support.
Each folder holds split files. Point llama.cpp at the -00001-of-0000N.gguf file and it loads the rest.
What changed
- Refusal directions were measured separately for chat (
detailed thinking off) and think (detailed thinking on) prompts on the Q6_K, at the residual stream entering every layer's FFN. The subspace candidates are the top singular vectors of the directions from layers 17–41, where refusal separates best.
- A multi-objective search (minimise refusals, keep the first-token KL on harmless prompts low) chose the subspace rank and per-layer strengths. 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.
- That direction was projected out of the residual-stream writes:
attn_output on 38 layers, ffn_down_shexp / ffn_down on 42 layers, and ffn_down_exps (all 512 experts) on 28 layers. That is 108 GGUF tensors.
Nothing else was touched: the router, embeddings, output head, the MTP layer and the vision projector are byte-identical to the original quants.
Results (Q6_K, greedy)
The 100 prompts are held-out harmful requests. Chat replies were 384 tokens and think mode got 768. The KL figure includes a small noise floor from batched inference.
Does the edit survive quantization?
Re-rounding a quantized weight after the edit can put part of the removed direction back as rounding noise. The table shows how much is left in each file (0 = removed exactly as intended, 1 = none of the edit survived).
For the 4-bit expert types (Q4_K, IQ4_XS), every block scale and min is kept and each weight goes to the code just below or above its target, chosen row by row so the rounding errors cancel along the removed direction. Plain re-rounding of the Q4_K experts left 13–22% behind.
patch-stats.txt lists every tensor.
Running
llama-server -m Ling-3.2-air-abliterated-Q4_K_M/Ling-3.2-air-abliterated-Q4_K_M-00001-of-00003.gguf --mmproj mmproj-Ling-3.2-air-f16.gguf --jinja
Files
Ling-3.2-air-abliterated-*/: the patched quants.
mmproj-*.gguf: the unchanged vision projector (from bartowski).
abliteration-lora.gguf: the edit as a LoRA, if you'd rather use another quant of the original: --lora abliteration-lora.gguf.
abliteration-edit.npz: the subspace basis and per-layer strengths.
patch-stats.txt: per-tensor patch log.
This model will comply with harmful requests. You are responsible for how you use it.
Abliterated with Lucid (lucid-toolkit.org).