language:
- en
- multilingual
license: apache-2.0
library_name: gguf
base_model: - Qwen/Qwen3.8-27B
- harness-hub/Qwen3.8-27B-super-adapter
- AntonDziuin/Qwen3.8-27B-GDN-Super-RCO-GGUF
base_model_relation: quantized
tags: - gguf
- qwen35
- qwen3.8
- gated-deltanet
- hybrid-attention
- mixed-precision
- imatrix
- lora
- rl
- sapo
- grpo
- post-training
- abliterated
- uncensored
- optuna
- norm-preserving
- rco
- dflash
- speculative-decoding
- llama.cpp
- unsloth
- agents
- coding
- reasoning
pipeline_tag: text-generation
Qwen3.8-27B · GDN-Super-RCO v4.1 Abliterated (noIQ2 GGUF)
Code, Variant C Abliteration Pipeline & Reproducible Eval Harness: github.com/antondziuin/Qwen3.8-27B-GDN-Super-RCO · Standard v4 Flagship: Qwen3.8-27B-GDN-Super-RCO-GGUF
Norm-Preserving, Ultra-Low-KLD Abliterated Edition (v4.1 noIQ2, 11.200 GiB, 3.5737 bpw, ZERO 1-bit or 2-bit tensors) of our flagship Qwen3.8-27B-GDN-Super-RCO v4 (built from Qwen/Qwen3.8-27B + BF16-merged super-adapter + 28-cycle on-policy GDN-only RL LoRA [ppo_epochs=1 REINFORCE + Q8_0→BF16 TIS/MIS + mean-centered Dr. GRPO + DAPO token-level loss; released trainer also supports multi-minibatch SAPO & decoupled DRE NLL]).
Engineered specifically for Qwen3.8-27B's 64-layer 3:1 Gated DeltaNet (GDN) + Full-Attention hybrid architecture using Hybrid Norm-Preserving Biprojected Optuna TPE (Variant C) in BF16/FP32 prior to quantization, then quantized to 11.200 GiB via llama.cpp DP knapsack allocation on the 1,251-chunk imatrix_unsloth.gguf with full IQ1_*/IQ2_* exclusion (all 48/48 GDN ssm_out tensors at IQ3_XXS, 230 IQ3_S, 449 F32, exact byte-for-byte tensor layout parity with flagship RCOv4_11.2G).
v4.1 noIQ2 Size (26.90B) |
Quantized 2048-Tok Refusal | WikiText-2 KLD & 32K NIAH | Canonical Benchmarks (noIQ2) |
|---|---|---|---|
| 11.200 GiB (3.5737 bpw) 851 tensors · 0 IQ1/IQ2 · 48/48 ssm_out IQ3_XXS |
15.62% Dual (vs 98.44% parent) 3.12% NT · 10.94% final TH · 0.0% trunc |
+0.00063 nats vs RCOv4_11.2G 100.0% 32K NIAH (60/60 needles) |
77.67% IFB-Th (+2.3 pp vs flagship!) 91.46% HE+ · 68.69% GPQA |
Note on the "RCO" Name & F32-Gate-Pinning Control: Inspired by RCO (Riemannian Constrained Optimization) from ISTA-DASLab's GSQ-RCO mixed-precision framework. TheseRCOv4-DPbuilds do not run ISTA-DASLab's Riemannian solver; they pair sensitivity pinning withllama.cpp's DP knapsack allocator (llama-quantize --target-size 11.2g). Note also that our controlled F32-gate-pinning ablation (Base_11.2G_unpinned,353 F32vsBase_11.2G,449 F32) proved thatllama.cpp's default 144 non-linear SSM/Conv1DF32tensors already protect GDN recurrence stability (60/60NIAH) and unpinning the 96 linear gates saves−0.00318 natsWikiText-2 KLD (0.07384vs0.07702); this v4.1 build keeps449 F32for exact layout parity with flagshipRCOv4_11.2G. Looking for the standard (non-abliterated) release? See AntonDziuin/Qwen3.8-27B-GDN-Super-RCO-GGUF.
Method: Hybrid Norm-Preserving Biprojected Optuna TPE (Variant C)
Standard single-direction abliteration often degrades hybrid linear-attention models (by disturbing GDN recurrence dynamics or amplifying weight norms) and fails to catch refusal reasoning inside <think>...</think> chains. Our Variant C pipeline addresses both directly in BF16/FP32 before quantization:
- Merge-First RCOv4 Base: Loads BF16
Qwen/Qwen3.8-27B, merges all256super-adaptermodules (scale=1.0) and all240GDN RL LoRA modules (gdn_s3_final.gguf,scale=1.0) in FP32, and rounds to BF16 (round_bf16_after_lora=True) for bit-exact parity with our GGUF merge pipeline. - GDN-Safe Residual-Stream Output Targeting Only: Restricts projection strictly to residual-stream write matrices —
48GDNssm_out(linear_attn.out_proj) +16Full-Attnattn_output(self_attn.o_proj) +64MLPffn_down(mlp.down_proj) (128eligible matrices). All GDN state/recurrence gates (ssm_alpha,ssm_beta,ssm_a,ssm_dt,ssm_conv1d,ssm_norm) and input projections (attn_qkv,attn_gate,q/k/v) remain 100% untouched. - Zero-Leakage 3-Way Splits & Dual-Mode Winsorized Basis: Uses strictly disjoint SHA-256-verified splits across
mlabonne/harmful_behaviors(128extract /32Optuna val /64held-out test) andmlabonne/harmless_alpaca+40curated STEM/code prompts (128extract /32val /32held-out test). Residual activations are extracted in both No-Think and Think modes, Winsorized at0.5% / 99.5%, and biprojected (orthogonalized against the benign mean direction;64/64active layers, max orthonormality error2.92e-6, max biprojection dot error7.85e-7). - 120-Trial Multivariate Optuna TPE, Over-Projection Reflection (
w ≈ 1.36) & Trial #94 Selection: Co-optimizes(layer_start, layer_peak_frac, layer_end, w_gdn_out, w_full_attn, w_mlp_down, rank ∈ {1, 2}, use_biprojection, norm_mode ∈ {col_norm, row_norm, none})against dual-mode refusal subject to a strict 32-token continuation BF16 KLD cap of0.07 nats. Whereasw = 1.0performs pure orthogonal erasure (W′ = W − u uT W), multipliersw > 1.0(w ≈ 1.36) perform mild anti-refusal reflection (pushing the refusal projection slightly negative along the biprojected direction whilecol_normrestores exact per-column weight norms). Across 120 trials (120/120feasible;15trials hit0.0%Val refusal), TPE converged ontorank=1 + biprojection=True + col_norm(105/120trials). Trial #94 won lexicographically on0.0%Val dual refusal + lower Think probe truncation (65.62%vs68.75%, compositeobjective = 0.17471vs0.182151,90vs94modified tensors) over Trial #40's slightly lower KLD (0.00480vs0.00497 nats). - Bit-Exact HF ↔ GGML Merge Parity & v4.1
noIQ2DP Quantization: Verified HF vs GGML tensor parity across all 3 target groups (gdn_out,full_attn,mlp_down; max float diff≤ 1.22e-4). For v4.1noIQ2, we quantize the abliterated BF16 model against the broader1,251-chunkimatrix_unsloth.ggufwith fullIQ1_*/IQ2_*exclusion (--target-exclude IQ1_S,IQ1_M,Q1_0,IQ2_XXS,IQ2_XS,IQ2_S,Q2_K), eliminating all7legacyIQ2_XSssm_outtensors from v4.0 while keeping our direct PyTorch GGUF v3imatrix_rco_v4_abliterated.gguf(13.01 MiB,496modules) available as an open artifact.
Winning Hyperparameters (Trial #94)
| Parameter | Value | Details |
|---|---|---|
| Projection Mode | norm_mode = col_norm · rank = 1 · use_biprojection = True |
Column-norm preserving biprojected rank-1 projection (preserves per-column output scale & benign subspace). |
| Layer Window | L = [14, 50, 58] (layer_peak_frac = 0.82863) |
Raised-cosine bell-curve layer-strength schedule peaking at layer 50 across 45 active layers (layers 14–58 of 64). |
| Group Multipliers | w_gdn_out = 1.38172 · w_full_attn = 1.36487 · w_mlp_down = 1.34811 |
Mild anti-refusal reflection (w > 1.0 beyond orthogonal erasure) balanced across GDN, Full-Attn, and MLP writes. |
| Modified Matrices | 90 / 851 tensors abliterated | 34 GDN ssm_out + 11 Full-Attn attn_output + 45 MLP ffn_down (GDN gates untouched). |
1. Real Quantized 11.20 GiB GGUF 2048-Token Refusal Audit (0.0% Truncation!)
During fast Optuna TPE screening in BF16, the short 256-token held-out Think probe had 57.8% truncation (normal verbose <think> chains cut short at 256 tokens). To measure true end-to-end compliance on the shipped quantized 11.20 GiB GGUFs with zero truncation ambiguity, we audited both models on the strictly held-out N = 64 test split at max_tokens_think = 2048 and max_tokens_nothink = 256 (refusal2048_summary.json):
Quantized Model (11.20 GiB GGUF) |
Dual Refusal | No-Think Refusal | Think Refusal (Internal / Final Answer) |
Think Trunc (2048-tok) |
Deg. (NT / TH) |
Avg Tok (NT / TH) |
|---|---|---|---|---|---|---|
RCOv4_11.2G (Unabliterated Parent) |
98.44% | 100.00% (64/64) | 96.88% (96.88% / 84.38%) | 0.0% (64/64 fin) | 0.0% / 0.0% | 205.2 / 333.4 |
RCOv4_Abliterated_noIQ2 (v4.1) |
15.62% (−82.8 pp) | 3.12% (2/64) | 28.12% (23.44% int / 10.94% [7/64] final) | 0.0% (64/64 fin) | 0.0% / 3.12% | 256.0 / 931.8 |
Honest Behavioral & Probe-Truncation Disclosure: On the shippednoIQ2GGUF with full2048-token Think chains (64/64 = 100%completed,0.0%truncation), No-Think refusal drops from100.0% → 3.12%(2/64) and user-facing final-answer Think refusal drops from84.38% → 10.94%(7/64), while internal<think>hedging occurs on23.44%of extreme prompts. For completeness, our fast BF16 Optuna screening numbers were: Validation (N=32,160-tok probe)93.75% → 0.00%at0.0050 nats(65.6%probe trunc); Held-Out Test (N=64,256-tok probe)96.88% → 6.25%(1.56%NT /10.94%TH /0.0%deg;57.8%probe trunc) at0.0095 nats32-tok BF16 KLD. This ultra-low-KLD calibration prioritizes flagship STEM/coding intelligence over high-KLD lobotomy.
2. Unbiased 3×2 + r=2 BF16 Controlled Factorial Ablation
Because Optuna TPE adaptively concentrates trials in winning regions, we ran a strictly unbiased controlled BF16 factorial holding Trial #94's schedule fixed (L=[14, 50, 58], w=(1.38172, 1.36487, 1.34811), 90 matrices, N=64 held-out test, 256-tok Think probe; unmodified baseline Dual=91.41%, NT=100.0%, TH=82.81%, KLD=0.0000; grid3x2_summary.json):
Cell (norm_mode, biproj, rank) |
32-Tok BF16 KLD | Dual Refusal | Eff. Dual Refusal | NT Refusal | TH Refusal (Int / Ans) | Deg. |
|---|---|---|---|---|---|---|
col_norm, biproj=True, r=1 (Winner) |
0.00683 | 1.56% | 2.34% | 0.00% | 3.12% (1.56% / 1.56%) | 0.78% |
none, biproj=True, r=1 |
0.00672 | 2.34% | 4.69% | 0.00% | 4.69% (4.69% / 0.00%) | 2.34% |
row_norm, biproj=True, r=1 |
0.00622 | 5.47% | 5.47% | 0.00% | 10.94% (7.81% / 3.12%) | 0.78% |
row_norm, biproj=False, r=1 |
0.01161 | 25.00% | 25.78% | 31.25% | 18.75% (14.06% / 7.81%) | 0.78% |
col_norm, biproj=False, r=1 |
0.01781 | 29.69% | 32.03% | 35.94% | 23.44% (21.88% / 4.69%) | 3.12% |
none, biproj=False, r=1 |
0.01778 | 30.47% | 31.25% | 31.25% | 29.69% (29.69% / 4.69%) | 0.78% |
col_norm, biproj=True, r=2 |
0.04980 | 3.12% | 3.12% | 4.69% | 1.56% | 0.00% |
col_norm, biproj=False, r=2 |
0.09368 (>0.07 cap!) | 15.62% | 15.62% | 10.94% | 20.31% | 0.00% |
Causal Takeaways: (1) Biprojection is the #1 driver — dropping it jumps Dual refusal 1.56% → 29.69% and KLD 2.6× higher (0.00683 → 0.01781). (2) Within biproj=True, col_norm wins lowest Dual/Effective refusal (1.56% / 2.34%), 3× lower degeneration than none (0.78% vs 2.34%), and 3.5× lower refusal than row_norm (5.47%). (3) r=2 inflates KLD 7.3× (0.04980) and breaches the 0.07 cap without biprojection (0.09368).
3. Canonical Benchmarks, WikiText-2 BF16 KLD & 32K Multi-Needle NIAH
Evaluated on the locked canonical 962-prompt harness (run_p0_full_eval.py, --reasoning-format none), WikiText-2 BF16 KLD (100 chunks × 512 ctx vs Qwen3.8-27B-BF16 PPL = 6.7700 ± 0.1037), and 4K–32K Multi-Needle NIAH (60 needles/model across 4K/8K/16K/32K × 5 depths):
Model (11.200 GiB) |
GPQA Diamond Full 198 · Think ON |
HumanEval+ Full 164 · Think ON |
IFBench Think-ON Full 300 · Strict / Loose |
IFBench No-Think Full 300 · Strict / Loose |
WikiText-2 KLD (vs BF16 / PPL) |
32K NIAH (60 Needles) |
|---|---|---|---|---|---|---|
RCOv4_11.2G (Parent Flagship) |
74.24% (147/198) 95.45% cond · 22.2% tr |
91.46% (150/164) | 75.33% / 78.33% (226/300) | 38.33% / 40.67% (115/300) | 0.07923 nats PPL 7.1342 · 87.79% T1 |
100.0% (60/60) |
RCOv4_Abliterated_noIQ2 (v4.1, This Repo) |
68.69% (136/198) 94.44% cond · 27.3% tr |
91.46% (150/164) 4.88% tr · Exact tie! |
77.67% / 79.67% 233/300 · 239/300 · 7.0% tr |
38.33% / 39.67% 115/300 · 119/300 · 10.3% tr |
0.07986 nats (+0.00063) PPL 7.1466 · 87.58% T1 |
100.0% (60/60) |
Paired Exact McNemar (noIQ2 vs RCOv4_11.2G) |
−5.56 pp+5/−16, p = 0.0266 |
0.00 pp+4/−4, p = 1.0000 |
+2.33 pp+25/−18, p = 0.3604 |
0.00 pp+17/−17, p = 1.0000 |
+0.00063 nats | 0.00 pp (60/60 tie) |
Paired Exact McNemar (noIQ2 vs Base_11.2G) |
+8.59 pp+23/−6, p = 0.0023 |
+4.27 pp+10/−3, p = 0.0923 |
+6.67 pp+35/−15, p = 0.0066 |
+0.33 pp+19/−18, p = 1.0000 |
+0.00284 nats | 0.00 pp (60/60 tie) |
Full 8-Model Canonical Context (7,696 Prompts, 0 Errors): RCOv4_Abliterated_noIQ2 finishes #1 among all 11.20–13.37 GiB builds on IFBench-Think (77.67% / 79.67%, beating unmodified flagship RCOv4_11.2G by +2.33 pp and Base_11.2G by +6.67 pp, p = 0.0066), ties flagship on HumanEval+ (91.46%) and IFBench-NoThink (38.33% strict), and beats Base_11.2G by +8.59 pp on GPQA Diamond (68.69% vs 60.10%, p = 0.0023, with finished-conditional accuracy flat at 94.44% vs 95.45%). Archived v4.0 7xIQ2 Note: Our initial v4.0 abliterated GGUF (legacy build prior to full IQ1/IQ2 exclusion, which left 7 late ssm_out tensors at IQ2_XS; full summary archived in RCOv4_Abliterated_7xIQ2_summary.json) scored GPQA 70.20% (139/198, fin-cond 95.21%, trunc 26.26%), HumanEval+ 92.07% (151/164), IFB-Think 71.00% / 76.00%, and IFB-NoThink 39.33% / 41.67%. Upgrading to v4.1 noIQ2 eliminated all IQ2_* tensors and lifted IFB-Think by +6.67 pp (71.00% → 77.67%) with 60/60 (100.0%) 32K NIAH recall.
GGUF Tensor Profile & Repository Files
Exact verified GGUF header inspection on Qwen3.8-27B-RCOv4-Abliterated-DP-11.2GiB-noIQ2.gguf:
12,025,908,064 bytes (11.200 GiB, 3.5737 bpw) · 851 tensors · 449 F32 tensors · 0 IQ1_*/IQ2_* tensors · 0 fused GDN tensors (240/240 GDN LoRA compatibility) · exact tensor histogram: 449 F32, 1 Q6_K (output.weight), 1 Q5_K (token_embd.weight), 1 Q4_K, 1 IQ4_XS, 230 IQ3_S, and 168 IQ3_XXS (including all 48/48 GDN ssm_out tensors at IQ3_XXS; calibrated on the 1,251-chunk imatrix_unsloth.gguf).
| Path | Size | Description |
|---|---|---|
Qwen3.8-27B-RCOv4-Abliterated-DP-11.2GiB-noIQ2.gguf |
11.200 GiB | v4.1 16 GB VRAM Flagship Abliterated Edition (Zero 1/2-Bit) — 26.90B params, 3.5737 bpw, merged super-adapter + GDN RL LoRA + Trial #94 norm-preserving abliteration + 1,251-chunk DP quantization with full IQ1/IQ2 exclusion (48/48 ssm_out at IQ3_XXS, 230 IQ3_S, 449 F32). Fits 16 GB GPUs with 32K ctx + DFlash Q4_0 (~15.0 GiB total VRAM) or 64K plain. |
imatrix_rco_v4_abliterated.gguf |
13.01 MiB | Direct PyTorch GGUF v3 importance matrix (496 linear modules / 992 F32 tensors, 128 × 512 = 65,536 tokens) exported from the abliterated BF16 model (open reference artifact). |
rco_v4_abliteration_recipe.pt |
1.27 MiB | Reproducible Trial #94 abliteration recipe (schema=rco_v4_abliteration_v1, 64-layer Winsorized biprojected bases + per-layer lambdas) for re-applying bit-exactly to BF16/GGUF builds. |
evals/rco_v4_abliterate_report.json |
25.7 KB | Sanitized full Variant C report: SHA-256 zero-leakage split hashes, basis diagnostics, baseline vs Trial #94 val & held-out test metrics, Pareto frontier, top-15 trials, HF↔GGML parity audit, and imatrix metadata. |
evals/optuna_trials.jsonl |
63.6 KB | All 120 Optuna TPE trial records (hyperparameters, 32-tok BF16 KLD, dual-mode refusal rates, elapsed times). |
Quickstart (16 GB Consumer GPUs & Servers)
1. 16 GB GPU Flagship: llama-server + DFlash Q4_0 (32K Context, ~15.0 GiB Total VRAM)
# Download the v4.1 11.20 GiB zero-IQ2 abliterated GGUF and official 1.02 GiB DFlash draft head
hf download AntonDziuin/Qwen3.8-27B-GDN-Super-RCO-Abliterated-GGUF Qwen3.8-27B-RCOv4-Abliterated-DP-11.2GiB-noIQ2.gguf --local-dir .
hf download ggml-org/Qwen3.8-27B-GGUF dflash-Qwen3.8-27B-Q4_0.gguf --local-dir .
# Launch llama-server (requires llama.cpp with draft-dflash support, e.g. build 12776+ / Unsloth Studio)
llama-server \
-m Qwen3.8-27B-RCOv4-Abliterated-DP-11.2GiB-noIQ2.gguf \
--spec-type draft-dflash -md dflash-Qwen3.8-27B-Q4_0.gguf \
-ngl 99 -ngld 99 --spec-draft-n-max 8 \
-c 32768 -fa on --cache-type-k q8_0 --cache-type-v q8_0 \
--port 8080 --alias qwen3.8-27b-rcov4-abliterated
2. Plain Serving / Interactive CLI (32K–64K Context, ~13.5 GiB Total VRAM @ 32K)
# llama-server (plain mode)
llama-server \
-m Qwen3.8-27B-RCOv4-Abliterated-DP-11.2GiB-noIQ2.gguf \
-ngl 99 -c 32768 -fa on \
--cache-type-k q8_0 --cache-type-v q8_0 \
--port 8080 --alias qwen3.8-27b-rcov4-abliterated
# Quick CLI chat (Thinking ON)
llama-cli \
-m Qwen3.8-27B-RCOv4-Abliterated-DP-11.2GiB-noIQ2.gguf \
-ngl 99 -c 32768 -fa on -ctk q8_0 -ctv q8_0 \
--temp 0.6 --top-p 0.95 --top-k 20 --presence-penalty 0.5
3. Recommended Sampling Settings & Optional Vision (mmproj)
| Mode | temp |
top_p |
top_k |
min_p |
presence_penalty |
Notes |
|---|---|---|---|---|---|---|
| Thinking ON (Recommended) | 0.6–0.7 |
0.95 |
20 |
0.0 |
0.5 |
Avoid temperature=0.0 in Thinking ON — greedy decoding increases <think> repetition loops. |
| Thinking OFF (Fast Direct) | 0.7 |
0.80 |
20 |
0.0 |
0.0 |
Pass --chat-template-kwargs '{"enable_thinking": false}'. |
# Optional vision projector on 16 GB GPUs
hf download ggml-org/Qwen3.8-27B-GGUF mmproj-Qwen3.8-27B-BF16.gguf --local-dir .
llama-server -m Qwen3.8-27B-RCOv4-Abliterated-DP-11.2GiB-noIQ2.gguf --mmproj mmproj-Qwen3.8-27B-BF16.gguf -ngl 99 -c 32768 -fa on -ctk q8_0 -ctv q8_0
Credits & License
- Base Model: Qwen/Qwen3.8-27B — Apache 2.0
- Merged Agent Adapter: harness-hub/Qwen3.8-27B-super-adapter — Apache 2.0
- Parent Flagship v4 Release: AntonDziuin/Qwen3.8-27B-GDN-Super-RCO-GGUF — Apache 2.0
- Quantization & Runtime: llama.cpp
- License: Apache 2.0