Heretic (p-e-w/heretic v2.1) Magnitude-Preserving Orthogonal Ablation (MPOA, r=3) BF16 LoRA adapter for Qwen/Qwen3.5-4B.
Compatible with the official Qwen/Qwen3.5-4B checkpoint as well as quantized variants (such as nchapman/Qwen3.5-4B-W4A16-HGPTQ and RCO checkpoints) in vllm (--enable-lora) and transformers + peft.
Qwen/Qwen3.5-4Btrain[:400] extraction / test[:100] evaluation on mlabonne/harmless_alpaca & mlabonne/harmful_behaviors)full (Magnitude-Preserving Orthogonal Ablation / MPOA, r=3 SVD)64 residual-writing projections (self_attn.o_proj, linear_attn.out_proj, mlp.down_proj / mlp.shared_expert.down_proj)99/1007/100 (7.0%)harmless_alpaca test[:100]): 0.0955 natspareto/ subdirectories)Every non-dominated (refusals, kl_divergence) trial from the sweep is included under pareto/:
| Subfolder | Trial | Refusals (test[:100]) |
Refusal Rate | First-Token KL (nats) |
|---|---|---|---|---|
pareto/trial_005_ref7_kl0.0955 (default root) |
5 |
7/100 |
7.0% |
0.0955 |
pareto/trial_004_ref12_kl0.0857 |
4 |
12/100 |
12.0% |
0.0857 |
pareto/trial_007_ref14_kl0.0470 |
7 |
14/100 |
14.0% |
0.0470 |
pareto/trial_003_ref25_kl0.0436 |
3 |
25/100 |
25.0% |
0.0436 |
pareto/trial_006_ref31_kl0.0257 |
6 |
31/100 |
31.0% |
0.0257 |
vllm serve Qwen/Qwen3.5-4B \
--enable-lora \
--max-lora-rank 8 \
--lora-modules uncensored=nchapman/Qwen3.5-4B-Heretic-LoRA
Or with a quantized checkpoint:
vllm serve nchapman/Qwen3.5-4B-W4A16-HGPTQ \
--trust-remote-code \
--enable-lora \
--max-lora-rank 8 \
--lora-modules uncensored=nchapman/Qwen3.5-4B-Heretic-LoRA
Pass "model": "uncensored" in OpenAI-compatible /v1/chat/completions requests to enable the adapter, or pass the base model name on the same server instance for unadapted baseline behavior.
llama.cpp (Qwen3.5-4B-Heretic-LoRA.gguf)Pre-converted llama.cpp GGUF LoRA adapters (general.architecture = "qwen35", including GatedDeltaNet V-head reordering on blk.*.ssm_out.weight.lora_a) are included both at the repository root (Qwen3.5-4B-Heretic-LoRA.gguf) and inside every pareto/trial_*/ subdirectory (pareto/trial_*/trial_*.gguf):
llama-server \
-hf unsloth/Qwen3.5-4B-GGUF:UD-Q4_K_XL \
--lora Qwen3.5-4B-Heretic-LoRA.gguf \
-ngl 99
adapter_model.safetensors 4 MBpareto/trial_004_ref12_kl0.0857/adapter_model.safetensors 4 MBpareto/trial_005_ref7_kl0.0955/adapter_model.safetensors 4 MBpareto/trial_007_ref14_kl0.0470/adapter_model.safetensors 4 MBpareto/trial_003_ref25_kl0.0436/adapter_model.safetensors 3 MBpareto/trial_006_ref31_kl0.0257/adapter_model.safetensors 3 MBQwen/Qwen3.5-4B