Reasoning-Enhanced Dense Language Model Fine-Tuned on Qwen3.6-27B
🧬 Trace Inversion & Negentropy 🧠 27B Parameters 🔥 3-Stage Curriculum SFT 🛠️ Vision & Tool-use Support🪐 Qwopus3.6-27B-v2 is a reasoning-enhanced dense language model built on top of Qwen3.6-27B. By leveraging a multi-stage curriculum learning pipeline and augmented with Trace Inversion datasets (claude-opus-4.6/4.7-traceInversion), it reverse-engineers the compressed "Reasoning Bubbles" of commercial LLMs into structured, step-by-step synthetic reasoning traces, successfully eliminating logical shortcuts and knowledge fractures.
🧩 Structured Reasoning Injects reconstructed deep CoT chains to eliminate logical shortcuts via Trace Inversion. 🪶 Style Consistency Enforces strict constraints on the format and convergence of<think> tags.
🔁 Distillation Alignment
Ensures high-quality cross-source SFT data alignment to narrow the capacity gap.
⚡ RL Scalability
Sets up a stable formatting pipeline optimized for downstream Reinforcement Learning (RL).
Qwen3.6-27B is a state-of-the-art dense large language model developed by Alibaba Cloud. Boasting 27 billion parameters, this base model natively supports long-context modeling and is engineered for agentic workflows, complex logical reasoning, and multimodal capabilities.
| Attribute | Specifications & Details |
|---|---|
| 🧠 Architecture | Dense Transformer / 27 Billion Parameters |
| 🏢 Developer | Alibaba Cloud (DAMO Academy) |
| 📄 Context Window | Native Support Up to 32K / 128K context length |
| 🎯 Focus Domains | Agentic Coding, Deep Logic Reasoning, Multimodal Tasks (Vision & Tool-use) |
| 🧬 Distillation Strategy | Cross-source SFT alignment and multi-teacher distillation to close the capability gap. |
| ⚡ RL Scalability | Optimized for downstream Reinforcement Learning alignment and self-critical learning loops. |
[!TIP] Vision & Tool Calling Support: Qwopus3.6-27B-v2 natively supports vision and tool-use capabilities. To enable vision functionality, download
mmproj.gguffrom the GGUF Repository and place it in the same directory as the main.gguffile.
[!WARNING] Community Release Notice: Qwopus3.6-27B-v2 is an experimental community release and has not undergone complete safety evaluations or standard benchmarking. It is intended solely for research and exploration.
A compact view of how many output tokens are needed to produce correct answers, and how the MTP variant improves inference throughput.
🚀 MTP Speedup 1.66x Qwopus3.6-27B-v2-MTP reaches 1.66x the official Qwen3.6 speed 🧠 Correct-Answer Tokens 918.7 Average tokens when Qwopus answers correctly 📉 Total Token Reduction 15.0% 627,325 vs 738,238 output tokens ✅ Token Conversion 4.64 Correct answers per 10,000 output tokens Efficiency framing: These measurements are based on parsed outputs from the same 350-question MMLU-style evaluation set. The goal is not only to compare accuracy, but also to measure how much reasoning text each model spends to reach correct answers. 🎯 3.1 Correct-Answer Token Cost| Metric Definition | Qwen3.6-27B | Qwopus3.6-27B-v2 | Efficiency Gain |
|---|---|---|---|
| Definition A: average output tokens on correctly answered questions only. | 1,433.3 tokens | 918.7 tokens | 35.9% fewer tokens |
| Definition B: total output tokens divided by the number of correct answers, including token cost from wrong answers. | 2,511.0 tokens | 2,155.8 tokens | 14.2% less systemic overhead |
| Metric | Qwen3.6-27B | Qwopus3.6-27B-v2 | Delta |
|---|---|---|---|
| Correct answers per 10,000 output tokens | 3.98 | 4.64 | +16.6% |
| Total output token cost | 738,238 tokens | 627,325 tokens | 15.0% fewer tokens |
| CoT Extraction Mode | Qwen3.6-27B | Qwopus3.6-27B-v2 | Reduction |
|---|---|---|---|
Normal thinking endings: text before the closing </think> tag only. |
1,680.3 tokens 5,169.4 chars |
798.5 tokens 2,370.0 chars |
52.5% shorter |
Detailed benchmark results on MMLU-Pro, SWE-bench, frontend page layout generation, creative coding, and agentic reasoning.
📚 MMLU-Pro Subset 87.43% +2.57 pp vs Qwen3.6-27B 🏆 SWE-bench Verified 75.25% 152 / 202 Resolved (Win) 🎨 Web Design 100% 5 / 5 Pages Validated ⚡ Speed (RTX 5090) 43.9 Avg tok/s (Q5_K_M) 📚 4.1 MMLU-Pro Selected Subset Evaluation format: All models in this MMLU-Pro comparison were tested as unquantized, full-format 16-bit checkpoints. The selected evaluation subset covers 7 categories, with 50 questions per category and 350 questions in total.| Model | Correct / Total | Accuracy |
|---|---|---|
| Qwopus3.6-27B-v2 | 306 / 350 | 87.43% |
| Qwen3.6-27B | 297 / 350 | 84.86% |
| Category | Qwen3.6-27B | Qwopus3.6-27B-v2 | Delta |
|---|---|---|---|
| Biology | 96% | 96% | 0 pp |
| Business | 88% | 94% | +6 pp |
| Computer Science | 82% | 84% | +2 pp |
| Mathematics | 90% | 88% | -2 pp |
| Physics | 76% | 86% | +10 pp |
| Chemistry | 74% | 80% | +6 pp |
| Health | 88% | 84% | -4 pp |
Summary: On the selected 350-question MMLU-Pro evaluation set, Qwopus3.6-27B-v2 achieved 87.43% accuracy, outperforming Qwen3.6-27B at 84.86%. Qwopus3.6-27B-v2 is stronger in Business, Computer Science, Physics, and Chemistry, while Qwen3.6-27B remains ahead in Mathematics and Health.
Scope note: due to limited resources, only randomly sampled questions from MMLU-Pro were evaluated. To keep the evaluation fair and transparent, model response logs will be placed in the repository test_data folder. 💻 4.2 SWE-bench Verified (controlled-202 slice)| Model / Configuration | Sampling | Resolved | Empty Patches | Resolve % |
|---|---|---|---|---|
| Qwopus 3.6 27B v2 (dense) | temp 1.0, step 275, single-slot | 152 / 202 | 1 | 75.25% |
Execution Details: 19h 29m wall-clock on a single RTX 5090 using a 160K fp16 context window. Every instance successfully exited with Submitted status. 0 step-limit hits and 0 context-overflow failures occurred. Median trajectory length was 67 / 275 steps.
<think> block, whereas a higher temperature enables the model to utilize the full breadth of reasoning paths established during training.
⚡ 4.3 Throughput & VRAM Allocation (RTX 5090)
| Metric | Qwopus 3.6 35B-A3B (MoE, Q5) | Qwopus 3.6 27B V2 (Dense, Q5) |
|---|---|---|
| Average Throughput | 161.9 tok/s | 43.9 tok/s |
| Throughput Range | 154.4 / 164.8 tok/s | 43.1 / 44.6 tok/s |
| VRAM Usage | ~25 GB (65K q8 context) | ~31 GB (160K fp16 context) |
| Completion Tokens (Suite) | 106,688 tokens | 119,036 tokens |
| Total Runtime (Suite) | 11.1 min | 45.3 min |
Architecture Trade-off: The MoE wins on raw throughput by ~3.7x due to its A3B routing pattern. However, the Dense 27B model offsets this with superior per-token reasoning depth. We recommend the Dense 27B model for complex agentic workflows, long-context reasoning, and code execution, and the MoE model for fast, high-throughput generations. Tight throughput variance (±0.75 tok/s) indicates the dense model is fully memory-bandwidth-bound.
🎨 4.4 Web Design, WebGL Canvas, and Agentic Task Breakdown 🎨 Web Design Layout Generation (All 5 validated end-to-end)| Prompt / Brief | Size (KB) | Tokens | Time | Reasoning Tokens |
|---|---|---|---|---|
| SaaS Landing Page (AI Observability) | 60.3 KB | 23,801 | 552 s | 836 |
| Analytics Dashboard (Light Theme) | 42.1 KB | 15,390 | 354 s | 1,898 |
| Designer Portfolio (Kinetic Typography) | 32.5 KB | 11,612 | 265 s | 1,459 |
| Pricing Page (3 Tiers + FAQ) | 26.6 KB | 9,360 | 213 s | 1,077 |
| Mobile App Marketing Page | 42.3 KB | 16,590 | 382 s | 1,650 |
| Sketch Name | Size (KB) | Tokens | Time | Configuration & Metrics |
|---|---|---|---|---|
| Particle Attractor (Fluid Swarm) | 9.4 KB | 4,308 | 97 s | temp 1.0 · 1,513 chars reasoning |
| Generative Flowfield (Ink Agents) | 13.9 KB | 7,237 | 163 s | temp 1.0 · 6,269 chars reasoning |
| Soft-Body Physics Sandbox | 18.0 KB | 6,827 | 154 s | temp 0.75 · 1,665 chars reasoning (shipped clean first run) |
| Audio-Reactive Visualizer | 10.7 KB | 5,731 | 129 s | temp 1.0 · 7,645 chars reasoning |
excluded-canvas/.
🧠 Agentic Tasks (5 prompts + 1 structured extraction nothink rerun)
| Task Brief | Completion Tokens | Reasoning Characters | Time |
|---|---|---|---|
| Multi-step Planning (URL shortener deploy) | 2,238 | 7,067 | 50 s |
| Tool-use Planning (Flights, Hotel, Weather) | 1,262 | 2,807 | 28 s |
| Code Debugging (4-bug BST K-th smallest) | 1,753 | 5,225 | 39 s |
| Structured Extraction (Roster from prose) | 1,721 | 4,245 | 39 s |
| Self-Critique Loop (Palindrome optimization) | 1,255 | 3,309 | 28 s |
| Structured Extraction (No-think) | 351 | 0 (nothink) | 8 s |
= vs ==, useless loop, off-by-one errors).search_flights, book_hotel, get_weather) with completely valid argument shapes.The training process fuses Trace Inversion data augmentation with a Three-Stage Curriculum Learning pipeline. The core engineering focuses on expanding context length gradually while training on reconstructed reasoning traces to guarantee format stability.
[ 🗺️ Trace Inversion: Reconstructing Distillation Workflow ]
A. Surrogate Model Training (Trace Inverter)
Open-source Model (GLM-5.1 / DS-V4) ──► Complete Reasoning Chain ──► [ Qwen3-235B Compression ] ──► Reasoning Bubbles
│ │
└──────────► [ Training ] ◄─────────┘
(Base: Qwen3-4B-Instruct)
(Result: Trace-Inverter-4B)
B. Inversion Phase: Reconstructing Claude-4.7-Max
_______________________________________________________
| |
| Claude-4.7-Max API ──► Compressed Bubbles + Answer |
|_______________________________________________________|
│
▼
[ 🧠 Trace-Inverter-4B (Logic Reconstructor) ] ──► Synthetic Deep Reasoning Trace (Learnable CoT)
│
▼
[ 🧩 Data Splicing ] ◄────────── (Original Prompt + Response)
(Embed reconstructed CoT in <think> tags, splicing with original prompt/response)
│
▼
(Result: claude-opus-4.6/4.7 inverted sets)
C. Final SFT Curriculum Pipeline
___________________________________________
| |
| Base Model (Qwen3.6-27B) |
|___________________________________________|
│
▼
[ 📦 Phase 1: Format Inception ] ──► [ 🛠️ Phase 2: Complexity Expansion ] ──► [ 🚀 Phase 3: Long-Context SFT ]
( < 4096 tokens ) ( 4096 - 8192 tokens ) ( 8192 - 32K tokens )
(Short-context stable format) (Medium-complexity reasoning) (Long/Multi-turn / 10% replay)
│ │
└─────────────────────────────┬─────────────────────────────────────────┘
▼
_____________________________________________
| |
| 🌟 Final Model: Qwopus3.6-27B-v2 |
|_____________________________________________|
To steadily scale up the reasoning quality under long-context inference, Qwopus3.6-27B-v2 adopts a Curriculum Learning strategy, progressively mixing longer and more complex reasoning templates:
| Curriculum Stage | Focus & Sample Characteristics | Strategy Details |
|---|---|---|
| 📦 Stage 1: Format Inception | • Limit context within 4,096 tokens • Emphasize stable reasoning templates |
Focuses on short-to-medium length, cleanly formatted reasoning samples. The primary goal is to establish a reliable, structured reasoning output format (such as auto-closing <think> tags), preventing premature exposure to complex chains from causing format collapse. |
| 🛠️ Stage 2: Complexity Expansion | • Extend length to 4,096 - 8,192 tokens • Introduce high-difficulty logic samples |
Gradually increases the ratio of complex reasoning chains. By aligned distillation with "teacher models" whose reasoning style distributions closely match the Qwen3.6 base, the capacity gap is controlled to achieve highly efficient knowledge transfer. |
| 🚀 Stage 3: Long-Context SFT | • Progressively scale window up to 32K tokens • 10% high-quality short sample replay |
In this stage, the model is pushed to deep reasoning scenarios under ultra-long context and multi-turn dialogues. To prevent capacity drift or degradation of short-instruction comprehension during long-text training, a 10% replay of high-quality short samples is strictly enforced. |
To demonstrate how Trace Inversion reconstructs logical continuity and eliminates negative entropy, the following interactive panels show the contrast between raw compressed "Reasoning Bubbles" and the fully step-by-step reconstructed chain-of-thought (Learnable CoT) under 5 typical scenarios:
def sum_even_numbers(arr):
return sum(x for x in arr if x % 2 == 0)
💡 Synthesized Reasoning Trace (Learnable CoT)
STEP 1This model is a collaborative milestone achieved with hardware engineer Kyle Hessling. You can follow him on X / Twitter: @KyleHessling1 to keep up with the latest hardware infrastructure and distributed training updates. 🙏
| Dimension | Details & Infrastructure |
|---|---|
| 🖥️ Training Hardware | NVIDIA DGX Cluster / H100 / RTX 6000 Pro |
| ⚙️ Fine-tuning Framework | Unsloth (used for highly efficient SFT of dense models and memory optimization) |
While the 27B dense model architecture is relatively stable, certain low-level framework compatibility issues may still surface during large-scale parameter updates and complex long-context training. It is highly recommended to monitor the following technical risk points during secondary fine-tuning and deployment:
| Module / Component | Issue & Troubleshooting Diagnostics |
|---|---|
| 🔀 Weight Merge (LoRA Merger) |
When merging LoRA adapters back into the base model, it is highly susceptible to peak memory out-of-memory (OOM) errors. Ensure the merging host has sufficient virtual memory or perform the low-precision merge on the CPU. |
| 🛠️ Dependency Compatibility | PEFT, Transformers 5.x fusion mode, and Unsloth patches may occasionally cause module import failures (ImportError) or weight mapping conflicts. Please align your dependency versions with those provided in our finetuning-guide repository. |
[!CAUTION] Local Fine-Tuning & Deployment Warning: If you attempt to run secondary fine-tuning or merge adapter weights locally, please proceed with caution and be prepared to manually patch model definition files or pin dependency versions strictly.
👉 GitHub Repository: Jackrong-llm-finetuning-guide Access the repository to dive into the codebase and reproduce our results locally or on Google Colab.
Special thanks to:
@misc{jackrong_qwopus36_27b_v2,
title = {Qwopus3.6-27B-v2},
author = {Jackrong},
year = {2026},
publisher = {Hugging Face}
}
model-00013-of-00015.safetensors 4.0 GBmodel-00007-of-00015.safetensors 4.0 GBmodel-00001-of-00015.safetensors 4.0 GBmodel-00014-of-00015.safetensors 3.9 GBmodel-00002-of-00015.safetensors 3.9 GBmodel-00009-of-00015.safetensors 3.9 GBmodel-00011-of-00015.safetensors 3.9 GBmodel-00012-of-00015.safetensors 3.9 GBmodel-00003-of-00015.safetensors 3.9 GBmodel-00004-of-00015.safetensors 3.9 GBmodel-00010-of-00015.safetensors 3.9 GBmodel-00005-of-00015.safetensors 3.9 GBmodel-00006-of-00015.safetensors 3.9 GBmodel-00008-of-00015.safetensors 3.9 GBmodel-00015-of-00015.safetensors 509 MB有文件?提交种子。
提交种子vllm serve XReyRobert/Qwopus3.6-27B-v2-GPTQ-Pro-v1 --served-model-name qwopus3.6-27b-v2-gptq-pro-foem-4bit-g128-ns256-v2 --language-model-only --dtype float16 --quantization gptq_marlin --disable-custom-all-reduce --tensor-parallel-size 1 --max-model-len 131072 --max-num-seqs 1 --kv-cache-dtype fp8_e5m2 --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder --enable-prefix-caching --max-cudagraph-capture-size 32 --gpu-memory-utilization 0.95 --trust-remote-code在 LocalMaxxing 上查看测试
来自 LocalMaxxing 的 1 次社区测试(1 种配置)的中位数。
自己运行:配置指南