🦙Stalecollected in 5h

Uncensored Qwen3.5-27B with KL Fix

PostLinkedIn
🦙Read original on Reddit r/LocalLLaMA

💡Uncensored 27B model holds 262K ctx, 97% HumanEval—test on your 12GB GPU now

⚡ 30-Second TL;DR

What Changed

96.91% HumanEval benchmark score

Why It Matters

Enables high-performance uncensored 27B model on consumer GPUs like RTX 3060. Supports long-context roleplay and tasks locally, though slow at 4 tok/sec.

What To Do Next

Download Q4_K_M GGUF from HuggingFace and test 262K context in llama.cpp.

Who should care:Developers & AI Engineers

Key Points

  • 96.91% HumanEval benchmark score
  • KL divergence reduced from 1.14 to 0.28
  • Holds 262K context in conversations
  • Q4_K_M quant with layer fixes
  • No additional training required

🧠 Deep Insight

AI-generated analysis for this event.

🔑 Enhanced Key Takeaways

  • The 'KL Fix' refers to a specific intervention in the model's attention and feed-forward network layers to mitigate catastrophic forgetting and distribution drift introduced during the Claude Opus dataset fine-tuning process.
  • The 262K context window is achieved through a combination of RoPE (Rotary Positional Embedding) scaling and a custom KV-cache compression technique that maintains coherence beyond the original Qwen3.5 training limit.
  • The model utilizes a MoE (Mixture of Experts) architecture, where the 'attn_v' and 'ffn_gate_exps' layer adjustments were necessary to re-align expert routing probabilities that were disrupted by the uncensoring process.
📊 Competitor Analysis▸ Show
FeatureQwen3.5-27B (Uncensored)Llama 3.3-70B (Instruct)Mistral Large 2
ArchitectureMoE (27B)Dense (70B)Dense (123B)
HumanEval96.91%92.4%91.8%
Context Window262K128K128K
LicensingApache 2.0 (Base)Llama 3.3 CommunityProprietary

🛠️ Technical Deep Dive

  • Architecture: Mixture-of-Experts (MoE) with 27B total parameters, utilizing sparse activation for inference efficiency.
  • KL Divergence Optimization: The reduction from 1.14 to 0.28 was achieved by applying a Kullback-Leibler divergence penalty during the merging process to keep the fine-tuned weights anchored to the original Qwen3.5 distribution.
  • Quantization: GGUF format optimized for llama.cpp, specifically targeting Q4_K_M to balance perplexity loss with VRAM footprint.
  • Layer Fixes: Targeted adjustment of 'attn_v' (attention value) and 'ffn_gate_exps' (feed-forward network gate experts) to correct output logit bias introduced by the removal of safety alignment filters.

🔮 Future ImplicationsAI analysis grounded in cited sources

Community-driven 'KL Fix' techniques will become standard for merging uncensored models.
The success of this method in maintaining benchmark performance while removing safety filters provides a repeatable template for open-source model developers.
27B parameter models will surpass 70B models in specialized coding tasks by Q4 2026.
The high HumanEval score of this 27B model demonstrates that architectural efficiency and high-quality synthetic data can outperform sheer parameter count.

Timeline

2025-09
Alibaba releases the base Qwen3.5 model series.
2026-01
Initial community experiments begin on uncensoring Qwen3.5 using Claude Opus synthetic datasets.
2026-03
Release of the 'KL Fix' patch to address distribution drift and performance degradation in merged models.
📰

Weekly AI Recap

Read this week's curated digest of top AI events →

👉Related Updates

AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/LocalLLaMA