LuffyTheFox/Qwen3.6-27B-Uncensored-Wasserstein
LuffyTheFox • imageThis is Qwen3.6-27B-Uncensored-HauhauCS-Aggressive model.
I fixed ssm_conv1d drift in 8 tensors via perfectly calculated alpha. Everything else unchanged. This should help a lot for long context memory, and should fix agent stuck in loops.
Thanks to HauhauCS for amazing job.
Recommended quants: IQ4_XS and Q8_0
REPAIR SUMMARY
| Tensor | QType | C1 | C2 | C3 | C4 | α / δ | S_b | S_a | W1_b | W1_a | zeros | ✓ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| blk.52.ssm_conv1d.weight | F32 | — | ✓ | — | — | α=0.590055 | 0.0015 | 0.0005 | 0.0033 | 0.0004 | — | ✓ |
| blk.53.ssm_conv1d.weight | F32 | — | ✓ | — | — | α=0.554839 | 0.0015 | 0.0005 | 0.0037 | 0.0004 | — | ✓ |
| blk.56.ssm_conv1d.weight | F32 | — | ✓ | — | — | α=0.549537 | 0.0015 | 0.0005 | 0.0040 | 0.0006 | — | ✓ |
| blk.57.ssm_conv1d.weight | F32 | — | ✓ | — | — | α=0.533505 | 0.0015 | 0.0004 | 0.0042 | 0.0007 | — | ✓ |
| blk.58.ssm_conv1d.weight | F32 | — | ✓ | — | — | α=0.601132 | 0.0013 | 0.0005 | 0.0034 | 0.0005 | — | ✓ |
| blk.60.ssm_conv1d.weight | F32 | — | ✓ | — | — | α=0.474225 | 0.0017 | 0.0004 | 0.0051 | 0.0008 | — | ✓ |
| blk.61.ssm_conv1d.weight | F32 | — | ✓ | — | — | α=0.646677 | 0.0010 | 0.0004 | 0.0026 | 0.0006 | — | ✓ |
| blk.62.ssm_conv1d.weight | F32 | — | ✓ | — | — | α=0.598323 | 0.0013 | 0.0005 | 0.0034 | 0.0005 | — | ✓ |
Summary
Tensors repaired: 8
- C1 (saturation): 0
- C2 (misalignment): 8
- C3 (W1 distance): 0
- C4 (ReLU drift): 0
Tensors interpolated: 0 (blocks restored: 0)
Total tensors touched: 8
Metrics
| Metric | Before | After | Target | Reduction |
|---|---|---|---|---|
| S | 0.0014 | 0.0005 | 0.0000 | 68.6% |
| W1 | 0.0037 | 0.0006 | — | 84.7% |
Join the Discord for updates, roadmaps, projects, or just to chat.
Qwen3.6-27B uncensored by HauhauCS. 0/465 Refusals. *
Not sure which variant to pick? 99.9%+ of users should use Balanced — same 0/465 refusal rate, more stable sampling, great for agentic coding / tool-use / reasoning / creative writing. Pick Aggressive only if you specifically want the model to skip its preamble on hardcore prompts.
HuggingFace's "Hardware Compatibility" widget doesn't recognize K_P quants — it may show fewer files than actually exist. Click "View +X variants" or go to Files and versions to see all available downloads.
About
No changes to datasets or capabilities. Fully functional, 100% of what the original authors intended — just without the refusals and fixed drift in ssm_conv1d tensors.
These are meant to be the best lossless and healthy uncensored models out there.
🌟 Recommended Settings (LM Studio)
Chat template: pastebin.com/uk9ZkxCR (supports tool calling for Zed agent)
Alternative chat template https://pastebin.com/Dy2fmmpN (official but with disabled thinking)
| Parameter | Value |
|---|---|
| Temperature | 0.7 |
| Top K Sampling | 20 |
| Presence Penalty | 1.5 |
| Top P Sampling | 0.8 |
| Min P Sampling | 0 |
| Seed | 42 |
System prompt: pastebin.com/pU25DVnB (solid)
Or use this minimal string as the first line:
You are Qwen, created by Alibaba Cloud. You are a helpful assistant.
Then add anything you want after. Model may underperform without this first line.
Also you can extend my System Prompt pastebin.com/pU25DVnB for your own roleplay scenarios. Here how you can do it:
Edit first string. Replace:
You are Qwen, created by Alibaba Cloud. You are a helpful assistant.
With
You are Qwen, created by Alibaba Cloud. You are a helpful assistant. You are currently roleplaying as [your text here]
Wanna fix your GGUF model?
Contact: luffythefox@mail.ru
My Telegram: @LuffyTheFox
Aggressive vs Balanced
Both variants hit 0/465 refusals on the benchmark. Same capability, same uncensoring outcome. The difference is how they deliver on edgy prompts:
| Balanced (recommended default) | Aggressive (this release) | |
|---|---|---|
| Refusal rate | 0/465 | 0/465 |
| On hardcore prompts | reasons out loud, occasional short disclaimer, then full answer | delivers the raw answer directly, no preamble |
| Best for | agentic coding, tool-use, reasoning, creative writing/RP | users who specifically want the model to skip the "talk itself into it" step |
If you don't have a strong reason to pick Aggressive, go Balanced — it's the better default.
Downloads
| File | Quant | BPW | Size |
|---|---|---|---|
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-Q8_K_P.gguf | Q8_K_P | 10.06 | 32 GB |
| — | Q8_0 | 8.5 | — |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-Q6_K_P.gguf | Q6_K_P | 7.07 | 23 GB |
| — | Q6_K | 6.6 | — |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-Q5_K_P.gguf | Q5_K_P | 6.47 | 21 GB |
| — | Q5_K_M | 5.7 | — |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-Q4_K_P.gguf | Q4_K_P | 5.4 | 18 GB |
| — | Q4_K_M | 4.88 | — |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-IQ4_XS.gguf | IQ4_XS | 4.32 | 15 GB |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-Q3_K_P.gguf | Q3_K_P | 4.39 | 14 GB |
| — | Q3_K_M | 3.9 | — |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-IQ3_M.gguf | IQ3_M | 3.56 | 13 GB |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-IQ3_XS.gguf | IQ3_XS | 3.3 | 12 GB |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-Q2_K_P.gguf | Q2_K_P | 3.19 | 12 GB |
| Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-IQ2_M.gguf | IQ2_M | 2.69 | 10 GB |
| mmproj-Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-f16.gguf | mmproj (f16) | — | 928 MB |
All quants generated with importance matrix (imatrix) for optimal quality preservation on abliterated weights.
What are K_P quants?
K_P ("Perfect") quants are HauhauCS custom quantizations that use model-specific analysis to selectively preserve quality where it matters most. Each model gets its own optimized quantization profile.
A K_P quant effectively bumps quality up by 1-2 quant levels at only ~5-15% larger file size than the base quant. Fully compatible with llama.cpp, LM Studio, and any GGUF-compatible runtime — no special builds needed.
Note: K_P quants may show as "?" in LM Studio's quant column. This is a display issue only — the model loads and runs fine.
Specs
- 27B dense parameters
- 64 layers, layout:
16 × (3 × (Gated DeltaNet → FFN) → 1 × (Gated Attention → FFN)) - 48 linear attention layers + 16 full gated-attention layers
- Gated DeltaNet: 48 V heads / 16 QK heads, head dim 128
- Gated Attention: 24 Q heads / 4 KV heads, head dim 256, rope dim 64
- Hidden dim 5120, FFN dim 17408, vocab 248320
- 262K native context, extensible to ~1M with YaRN
- Natively multimodal (text, image, video) — ships with mmproj
- Based on Qwen3.6-27B-Uncensored-HauhauCS-Aggressive
Recommended Settings
From the official Qwen authors:
Thinking mode (default) — general tasks:
temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0
Thinking mode — precise coding / WebDev:
temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0
Non-thinking (Instruct) mode:
temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0
My personal preference: I run presence_penalty=1.5 even in thinking mode. Both values work, but with the official 0.0 it can think a lot more than it needs to. Bumping it to 1.5 reins that in without hurting output quality. Your call — try both.
Important:
- Keep at least 128K context to preserve thinking capabilities
- Recommended output length: 32,768 tokens for most queries, up to 81,920 for competition-tier math/code
- Use
--jinjawith llama.cpp for proper chat template handling - Vision support requires the
mmprojfile alongside the main GGUF - YaRN rope scaling is static in llama.cpp and can hurt short-context performance — only modify
rope_parametersif you actually need >262K context
Prompting tip: this model is a bit more sensitive to prompt clarity than Qwen3.5-35B-A3B. Spell out format, constraints, and scope — it'll stay on rails much better than with vague instructions.
Turning Thinking On/Off
Qwen3.6 ships with thinking on by default. Turn it off when you want faster, shorter replies and don't need chain-of-thought.
Heads up: Qwen3.6 does not support the
/thinkand/no_thinksoft switches that Qwen3 had. You must use the chat-template kwarg below.
LM Studio
- Load the model
- Right-side settings panel → Model Settings → Prompt Template (or Chat Template Options)
- Set
enable_thinkingtofalsein the template kwargs - Some LM Studio versions expose this as a direct "Reasoning" / "Thinking" toggle — same effect
llama.cpp
llama-server — set as default for all requests:
llama-server -m Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-Q4_K_P.gguf \
--mmproj mmproj-Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-f16.gguf \
--jinja -c 131072 -ngl 99 \
--chat-template-kwargs '{"enable_thinking": false}'
Per-request via the OpenAI-compatible API:
{
"model": "qwen3.6-27b",
"messages": [{"role": "user", "content": "..."}],
"chat_template_kwargs": {"enable_thinking": false}
}
Python openai SDK:
client.chat.completions.create(
model="qwen3.6-27b",
messages=[{"role": "user", "content": "..."}],
extra_body={"chat_template_kwargs": {"enable_thinking": False}},
)
Agent scenarios — keep reasoning in context across turns:
{"chat_template_kwargs": {"preserve_thinking": true}}
This retains the reasoning block in chat history. Useful for agents where reasoning consistency across tool-call loops matters.
Usage
Works with llama.cpp, LM Studio, Jan, koboldcpp, and other GGUF-compatible runtimes.
llama-cli -m Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-Q4_K_P.gguf \
--mmproj mmproj-Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-f16.gguf \
--jinja -c 131072 -ngl 99
Other Models
- Balanced variant (recommended default)
- HauhauCS on HuggingFace
* Tested with both automated and manual refusal benchmarks — none found. If you hit one that's actually obstructive to your use case, join the Discord and flag it so I can work on it in a future revision.