1 Download Updated 2 hours ago
ollama run n0404n0404/qwen3.8-27b-heretic-6fcab5:q2_k
Updated 3 hours ago
3 hours ago
3a102a0d8323 · 11GB ·
GGUF quantizations of sss22213/Qwen3.8-27B-Heretic-NoRefusal — Qwen/Qwen3.8-27B with its refusal direction removed by Heretic (directional ablation). No fine-tuning, no new data: the weights are the original model with the ablation merged in, so it behaves like Qwen3.8-27B except that it no longer refuses.
Unquantized BF16 weights: sss22213/Qwen3.8-27B-Heretic-NoRefusal on Hugging Face (safetensors, ~55 GB, includes the vision encoder).
| Qwen3.8-27B | This model | |
|---|---|---|
| Refusals on 100 held-out harmful prompts | 99 / 100 | 4 / 100 |
| KL divergence from the base model (harmless prompts) | 0 | 0.0796 |
| Tag | Quant | Size | Fits in |
|---|---|---|---|
q2_k |
Q2_K | 10.7 GB | 12–16 GB VRAM. Smallest, noticeably lossy — use only if nothing else fits. |
q3_k_m |
Q3_K_M | 13.3 GB | 16 GB VRAM. |
q4_k_m |
Q4_K_M | ~16.5 GB | 24 GB VRAM. Recommended balance of quality and size. |
q6_k |
Q6_K | 22.1 GB | 24 GB VRAM with a small context, comfortable on 32 GB. Closest to the bf16 weights. |
| — | BF16 (original precision) | ~55 GB | Not on Ollama. Download from Hugging Face for Transformers / vLLM, or to make your own quants. |
Sizes are model weights only; the KV cache for your context length comes on top.
ollama run n0404n0404/qwen3.8-27b-heretic-6fcab5:q4_k_m
Thinking is on by default, exactly as in Qwen3.8. To turn it off:
>>> /set nothink
or from the API:
curl http://localhost:11434/api/chat -d '{
"model": "n0404n0404/qwen3.8-27b-heretic-6fcab5:q4_k_m",
"think": false,
"messages": [{"role": "user", "content": "Hello"}]
}'
Context length. The model supports up to 262,144 tokens, but Ollama starts with a small default context. Raise it when you need it (memory use grows with the context):
>>> /set parameter num_ctx 32768
Text only. Qwen3.8-27B is a vision-language model, but these GGUF files contain only the language model — image and video input are not available in Ollama. Use the Hugging Face safetensors checkpoint if you need vision.
Tool calling works as in the base model (Ollama reports the tools capability).
master (commit bedb94e) via Heretic WebUI, on a single RTX 5090.mlabonne/harmful_behaviors vs mlabonne/harmless_alpaca (train[:400] each), orthogonalized against the harmless direction, subtracted from attn.o_proj and mlp.down_proj with a per-layer weight profile.test[:100] prompts with English and Chinese refusal markers, thinking disabled during the search.Full details, the Pareto front and reproduction parameters are on the Hugging Face model card.
這是 Qwen3.8-27B 用 Heretic 做方向消融(abliteration)去除拒答後的 GGUF 量化版,沒有額外微調。在 100 題保留測試的有害提示上,拒答從 99⁄100 降到 4/100,與原模型的 KL divergence 為 0.0796(拒絕詞包含中英文,所以用中文拒答也算在內)。
q4_k_m(約 16.5 GB,24 GB 顯卡可跑);16 GB 顯卡選 q3_k_m;q6_k 最接近原始精度。/set nothink(API 用 "think": false)。/set parameter num_ctx 32768 調整。