Qwen3-Coder-Next REAP-128 Uncensored
compressed 21.7B uncensored coding model
3 min read
Creator ch2oma took the flagship Qwen3-Coder-Next coding model (an 80B Mixture-of-Experts architecture) and pruned the routed experts per layer from 512 down to 128 using REAP (selecting top experts based on activation statistics). Next, they stripped the refusal direction from the weights via abliteration (removing censorship mechanisms through weight projection) and restored lost knowledge using logit distillation from the original 80B model. Total parameters dropped from ~80B to ~21.7B while keeping ~3B active parameters per token, and the model no longer refuses prompts. The IQ2_XXS quant weighs just 6 GB, running smoothly even on standard laptops with 16 GB of RAM or GPUs with 8 GB of VRAM.
Key features
- 75% expert pruning: keeps the top 128 out of 512 experts across all 48 layers, leaving attention (Gated DeltaNet + attention), shared experts, and embeddings untouched.
- Uncensored weights: the refusal direction is ablated across 6,240 matrices in every layer, scoring 0 refusals on 25 test prompts from
harmful_behaviors. - KD healing recovery: following pruning and abliteration, the model was fine-tuned with QLoRA on 1.5M code tokens guided by the top-20 logits of the 80B teacher, restoring prediction accuracy.
- Ready-to-run builds for any hardware: the repo includes full bf16 weights (41 GB) alongside
IQ4_XS(11.7 GB) andIQ2_XXS(6.0 GB) GGUF quants calibrated with an importance matrix from the 80B parent model.
What you can do
- Run a local coding assistant on modest hardware: load the
IQ2_XXSbuild in llama.cpp (including Vulkan on integrated Intel/AMD graphics) or Ollama with a 32K context window. - Enable tool calling: deploy the model in vLLM or SGLang using the ready-made
qwen3coder_tool_parser_vllm.pyandqwen3_coder_detector_sgl.pyparsers from the repository. - Fine-tune or build custom quants: grab the full bf16
safetensorsand the retained expert index list inreap_keep.jsonfor downstream fine-tuning.
Example
huggingface-cli download ch2oma/qwen3-coder-next-reap128-uncensored gguf/reap128-uncensored-healed-IQ2_XXS.gguf --local-dir .
llama-server -m gguf/reap128-uncensored-healed-IQ2_XXS.gguf -ngl 99 -c 32768 --jinja
Read more
DetailsGeneration speed (single stream): ~94 tok/s on an RTX A5000 24 GB (CUDA) and ~11.6 tok/s on integrated Intel Iris Xe graphics (16 GB RAM laptop, Vulkan) using
IQ2_XXS.Benchmarks: after KD healing, top-1 token agreement with the 80B teacher exceeded pre-abliteration levels (starting at 84.0%, dropping to 82.1% after abliteration, then recovering); final EvalPlus runs on the finished checkpoint are marked as pending (the original 80B scores 92.7 on HumanEval and 91.8 on MBPP).
Context: 256K supported, tested up to 32K; runs in non-thinking mode without a reasoning block.
Limitations: pruning calibration focused on code, so general chat and non-English languages degrade more than programming tasks; for peak quality, the author recommends
IQ4_XS or bf16.









Comments