← back to catalog · indexed 2026-11-26 01:07

icharle/Huihui-Qwen3.8-27B-abliterated-DFlash2

icharle Qwen 27B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/icharle%2FHuihui-Qwen3.8-27B-abliterated-DFlash2"
Response includes
  • classification unknown
  • files 13
  • author_summary 3 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · 30-day
0
Likes
0
Model age
today
created 2026-11-26

Training datasets

Corpora the author lists in the model card. Datasets tracked in our /datasets catalog carry a category badge linking to the workflow stage. Others open on Hugging Face.

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en zh
Tags
transformers safetensors qwen3 dflash2 speculative-decoding block-diffusion draft-model sglang abliterated text-generation en zh

Related

Total size
3.58 GB
Files
13
Quantizations
none
Indexed by us
2026-11-26 01:07
Last updated on HF
2026-11-26 00:42

Files by quantization

Weights 1 file 3.58 GB
model.safetensors 3.58 GB cbd1d93b download
Auxiliary files 12 files 39.6 KB
training/10_spec_bench.py 8.08 KB c961af7a download
README.md 4.97 KB 950b7478 download
training/02_serve.py 4.71 KB af86e4d2 download
training/14_train.py 4.71 KB b8ed96f7 download
training/11b_regen.py 3.54 KB 5e33bb43 download
training/11_build_prompts.py 3.47 KB f3ed1dae download
training/14_dflash2_huihui.yaml 2.34 KB 1bb2e28b download
training/14b_export.py 1.96 KB 77af4577 download
training/13_prep_data.py 1.70 KB a94a1c4a download
.gitattributes 1.48 KB a6344aac download
training/15_val_only.py 1.45 KB 48c5d738 download
config.json 1.21 KB 79279cc5 download

README from Hugging Face, captured 2026-11-26


license: apache-2.0
library_name: transformers
pipeline_tag: text-generation
base_model:

  • z-lab/Qwen3.8-27B-DFlash2
    base_model_relation: finetune
    datasets:
  • icharle/Huihui-Qwen3.8-27B-abliterated-selfdistill
    language:
  • en
  • zh
    inference: false
    tags:
  • dflash2
  • speculative-decoding
  • block-diffusion
  • draft-model
  • sglang
  • abliterated

Huihui-Qwen3.8-27B-abliterated-DFlash2

A DFlash2 speculative-decoding draft model for
huihui-ai/Huihui-Qwen3.8-27B-abliterated,
fine-tuned from the official z-lab/Qwen3.8-27B-DFlash2 drafter on
the abliterated model's own outputs.

Honest summary: this drafter is NOT faster than the official one. In real decoding it matches
z-lab/Qwen3.8-27B-DFlash2 within run-to-run noise. If you just want speed on huihui, use the official drafter: it
already fits the abliterated model. This repo is published as a reproducible experiment: data, scripts, and the
negative result.

Results

SGLang 0.5.23, target = huihui BF16 on one RTX PRO 6000 Blackwell (96 GB), --speculative-num-draft-tokens 8,
greedy decoding, reasoning on, 1024 new tokens. Numbers are acceptance length (tokens per target verify step).
Prompts: GSM8K test, HumanEval, MT-Bench turn 1, 22 hand-written Chinese prompts.

drafter math c1 code c1 chat c1 zh c1 math c8 code c8 chat c8 zh c8
official z-lab 6.36 6.40 3.78 3.67 6.36 6.54 3.17 3.28
this repo (final, step 729) 6.28 6.34 3.74 3.60 6.36 6.55 3.05 3.21
this repo (step 400, not uploaded) 6.33 6.29 3.83 3.58 6.34 6.53 3.11 3.23

Single-stream speed with either drafter: ~140 tok/s on math/code and ~80 tok/s on chat/Chinese, up from 27 tok/s
without speculative decoding.

Teacher-forced validation on 300 held-out self-distilled conversations (NeMo's metrics, same script for both):

drafter val loss val accept_len base accept_len candidate recall
official z-lab 2.815 3.880 3.780 0.804
this repo 2.456 3.940 3.797 0.819

What this means: training clearly learned the abliterated model's distribution (loss −13%), but the drafter's
top choices barely changed (accept_len +1.5%), and that does not show up in real decoding. The official drafter
already predicts huihui well: abliteration hardly moves the output distribution on ordinary prompts. The lower
acceptance on chat and Chinese comes from that text being less predictable, not from a drafter mismatch.

Usage (SGLang)

sglang serve --model-path huihui-ai/Huihui-Qwen3.8-27B-abliterated \
  --speculative-algorithm DFLASH \
  --speculative-draft-model-path icharle/Huihui-Qwen3.8-27B-abliterated-DFlash2 \
  --speculative-num-draft-tokens 8 \
  --reasoning-parser qwen3

Same architecture, tensor names, and config.json as the official drafter (81 tensors, 1.92 B parameters, BF16), so it
works anywhere the official one works.

How it was trained

  • Data: icharle/Huihui-Qwen3.8-27B-abliterated-selfdistill.
    ~12k prompts (UltraChat, alpaca-gpt4-zh, COIG-CQIA, open-perfectblend, GSM8K train, Magicoder), answered by huihui
    BF16 itself (temperature 1.0, top_p 0.95, top_k 20, up to 2560 tokens, reasoning kept). 11,659 conversations
    for training, the last 300 by id for validation.
  • Recipe: NVIDIA NeMo Automodel TrainDFlash2Recipe (commit d433bc8), online target hidden states (target
    layers 5/19/33/47/61), block size 8, 64 anchors, seq length 3072, loss decay gamma 4.0, selector loss weight 0.5.
    The official DFlash2 training objective is unpublished; NeMo's block CE + top-K selector CE is a reconstruction.
  • Warm start from all 81 official tensors; the two selector codebooks were frozen (1.797 B trainable).
  • Optimizer: flashoptim FlashAdamW with 24-bit master weights, lr 1e-4 (3% warmup, cosine to 1e-5),
    betas (0.9, 0.95), effective batch 16 conversations, 1 epoch = 729 steps.
  • Hardware: one 96 GB GPU, target and drafter in the same process, 2 h 05 min, peak 66 GiB.

Scripts are in training/: prompt building (11_build_prompts.py), self-distillation
(11b_regen.py), data prep (13_prep_data.py), training (14_train.py + 14_dflash2_huihui.yaml), export check
(14b_export.py), teacher-forced validation (15_val_only.py), SGLang serve + benchmark (02_serve.py,
10_spec_bench.py). Paths assume a /content layout.

Credits & license

Apache-2.0, as the original drafter. Based on z-lab/Qwen3.8-27B-DFlash2
(DFlash2 blog, GitHub); modified by fine-tuning
on the data above. Target model: huihui-ai/Huihui-Qwen3.8-27B-abliterated, built on Qwen/Qwen3.8-27B.
Training code: NVIDIA NeMo Automodel.

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration