← back to catalog · indexed 2026-11-25 04:07

icharle/Huihui-Qwen3.8-27B-abliterated-NVFP4-W4A16-AWQ

icharle Qwen 27B multimodal second-order
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-NVFP4-W4A16-AWQ"
Response includes
  • classification m1
  • files 17
  • author_summary 2 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · 30-day
0
Likes
0
Model age
today
created 2026-11-24

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.

Variants by this author 2 formats · 0 downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

License
apache-2.0
Tags
transformers safetensors qwen3_5 image-text-to-text nvfp4 fp8 modelopt abliterated uncensored conversational base_model:huihui-ai/Huihui-Qwen3.8-27B-abliterated base_model:quantized:huihui-ai/Huihui-Qwen3.8-27B-abliterated

Related

Total size
20.4 GB
Files
17
Quantizations
none
Indexed by us
2026-11-25 04:07
Last updated on HF
2026-11-24 18:51

Files by quantization

Weights 3 files 20.4 GB
model-00002-of-00003.safetensors 9.30 GB 356dd448 download
model-00001-of-00003.safetensors 9.28 GB a14f396f download
model-00003-of-00003.safetensors 1.83 GB 292c2244 download
Auxiliary files 14 files 22.2 MB
tokenizer.json 12.2 MB 0997f410 download
vocab.json 6.41 MB 0aa0ce06 download
merges.txt 3.20 MB a494e019 download
model.safetensors.index.json 191 KB 3a4007c0 download
config.json 72.3 KB 051e3157 download
hf_quant_config.json 53.6 KB 35df54d1 download
LICENSE 11.3 KB f938136e download
chat_template.jinja 8.74 KB c0c686f9 download
README.md 7.70 KB b88d5ace download
.gitattributes 1.53 KB 52373fe2 download
tokenizer_config.json 1.09 KB 18c88802 download
preprocessor_config.json 390 B 2ea84a43 download
video_preprocessor_config.json 385 B 3ba673a5 download
generation_config.json 214 B 3f25ead4 download

README from Hugging Face, captured 2026-11-25


license: apache-2.0
base_model:

  • huihui-ai/Huihui-Qwen3.8-27B-abliterated
    base_model_relation: quantized
    library_name: transformers
    pipeline_tag: image-text-to-text
    tags:
  • qwen3_5
  • nvfp4
  • fp8
  • modelopt
  • abliterated
  • uncensored

Huihui-Qwen3.8-27B-abliterated-NVFP4-W4A16-AWQ

A ModelOpt NVFP4 / FP8 post-training quantization of
huihui-ai/Huihui-Qwen3.8-27B-abliterated
(revision 739e3c5b, the "layers 18–51" ablation), itself an abliterated
Qwen/Qwen3.8-27B. All credit for the model goes to the Qwen team
and to huihui-ai.

[!WARNING]
Uncensored model. Abliteration removed the base model's refusal behaviour. There are no safety
guardrails; you are responsible for how you use it and for any safeguards your application needs.

[!NOTE]
Verified: loads and serves in SGLang 0.5.23 (quant=modelopt_mixed), tool calling and reasoning parsers work.
See the evaluation below. This revision replaces an earlier upload of this repo that was broken by a
ModelOpt export bug (see "How it was made") — if you downloaded it before 2026-11-25, download again.

Format

The layer layout is NVIDIA's own ModelOpt 0.47.0 recipe for the qwen3_5 architecture
(huggingface/qwen3_5/ptq/w4a16_nvfp4-fp8_attn-kv_fp8_cast), used unchanged:

Part Precision Layers
MLP gate_proj / up_proj / down_proj NVFP4 weights, BF16 activations (W4A16) 64 × 3
lm_head NVFP4 weights (W4A16) 1
Full attention q/k/v/o_proj FP8 W8A8 16 × 4
Gated DeltaNet in_proj_qkv / in_proj_z / out_proj FP8 W8A8 48 × 3
KV cache FP8 (constant amax)
Embeddings, DeltaNet in_proj_a/b + conv1d, vision tower, MTP head BF16 (not quantized)

hf_quant_config.json: quant_algo: MIXED_PRECISION, kv_cache_quant_algo: FP8, 401 quantized layers.
Weights: 21.9 GB in 3 safetensors shards (BF16 original: 55.6 GB).

How it was made

  • Tooling: NVIDIA ModelOpt 0.47.0 (examples/hf_ptq/hf_ptq.py), transformers 5.12.1, torch 2.14.0,
    one RTX PRO 6000 Blackwell (96 GB). Note: torch 2.15 / Triton 3.9 removed tl.make_block_ptr, which
    ModelOpt 0.47/0.48's NVFP4 fake-quant kernel still uses — pin torch 2.14.

  • Calibration algorithm: awq_lite (AWQ, Activation-aware Weight Quantization): per layer, search one exponent α so that
    per-channel scales act_amax^α minimise the layer's output error after quantization; weights of channels with large
    activations are scaled up before rounding and the activations scaled down (math unchanged). Same layer layout,
    calibration set and tooling as the max sibling
    Icharle/Huihui-Qwen3.8-27B-abliterated-NVFP4-W4A16;
    only the calibration algorithm differs.

  • ModelOpt 0.47.0 needed four local patches for a correct, loadable AWQ export of Qwen3.8 (script:
    quantization/04c_patch_modelopt.py):

    1. _layernorm_uses_weight_plus_one did not recognise Qwen3_5RMSNorm (it computes norm(x) * (1 + w)),
      so gate/up's AWQ scales were folded as w*s instead of (1+w)*s - 1 — 54 of 64 layers got sign-flipped
      channels. Fixed by an exact class-name match (Qwen3_5RMSNormGated is not a 1 + w norm).
    2. awq_lite also smoothed the FP8 layers, whose pre_quant_scale the exporter never fuses and SGLang/vLLM
      cannot apply. AWQ is now limited to the NVFP4 (MLP, lm_head) layers; FP8 layers use max calibration.
    3. Qwen3_5MLP was missing from PQS_FUSE_MODULE_MAPPING, so down_proj's scale could not be folded into
      up_proj.
    4. The exporter only folds pre_quant_scale into preceding linears when the model format is nvfp4_awq,
      but a mixed-precision model reports its first layer's format (FP8).
      After export, lm_head's remaining scale was folded exactly into the final norm and the layers relabelled
      W4A16_NVFP4 (quantization/06c_finalize_awq.py), so the checkpoint has
      the same format as the max sibling — no runtime pre_quant_scale.
  • Calibration data: 226 windows × 1024 tokens (~231k tokens), built for agent / coding / Chinese use
    instead of the default news text:

    • 96 windows from nvidia/Nemotron-SFT-Agentic-v2 (search-agent transcripts),
    • 80 from nvidia/Nemotron-SFT-SWE-v2 (agentless SWE; windows that are > 30% repository file-path lines
      were skipped),
    • 50 from nvidia/Nemotron-SFT-Multilingual-v1 code_zh / math_zh / stem_zh (only windows that are
      ≥ 30% Chinese characters — those documents reason mostly in English).

    The documents were rendered with the model's chat template and cut into 1024-token windows at random
    positions (seed 0), because hf_ptq.py otherwise keeps only the first --calib_seq tokens of each
    sample, which for these long transcripts is mostly system prompt and tool definitions.

  • The recipe and the calibration-set builder are in quantization/.

python hf_ptq.py --pyt_ckpt_path huihui-ai/Huihui-Qwen3.8-27B-abliterated \
  --recipe official_w4a16_awq.yaml --dataset calib.jsonl --calib_size 226 --calib_seq 1024 \
  --export_path Huihui-Qwen3.8-27B-abliterated-NVFP4-W4A16-AWQ --trust_remote_code

Evaluation (2026-11-25, one RTX PRO 6000 Blackwell, SGLang 0.5.23)

Compared with the BF16 original and with another public NVFP4 quant of the same model
(iQlusion/…-NVFP4-BF16-LMHead:
W4A4 MLP + FP8 attention + BF16 lm_head, max calibration on cnn_dailymail).

BF16 NVFP4-W4A16 (max) NVFP4-W4A16-AWQ iQlusion W4A4
Weights 55.6 GB 21.9 GB 21.9 GB 23.75 GB
KL vs BF16 (all text, ≈, top-20) 0 0.0391 0.0354 0.0540
Perplexity change — +2.98% +2.69% +4.84%
Top-1 agreement with BF16 — 91.4% 92.0% 90.6%
KL on code only 0 0.0524 0.0534 0.0968
GSM8K (250, thinking, greedy) 98.4% 97.2% 98.4% 98.4%
MMLU-Pro (280, thinking, greedy; ±2.4) 80.4% 81.8% 80.0% 79.6%
Decode, 1 request 27 tok/s 69 tok/s 69 tok/s 62 tok/s
Throughput, 32 concurrent — 1147 tok/s 1156 tok/s 1199 tok/s
Time to first token, 1 request 155 ms 147 ms 147 ms 76 ms
  • KL / perplexity / top-1: teacher-forced next-token distributions on ~45k positions of text not used for
    calibration (wikitext-2 test, HumanEval code, Chinese Wikipedia); KL is approximated over BF16's top-20 tokens.
  • Tasks: same 530 questions for every model, reasoning_effort: medium, temperature 0, max 8192 tokens.
    With 250/280 questions, differences of 1–2 points are within noise.
  • Speed: sglang.bench_serving, random 1024 in / 1024 out, --kv-cache-dtype fp8_e4m3.
  • Takeaways: W4A16 (BF16 activations) stays closer to BF16 than W4A4, most visibly on code; NVFP4 lm_head
    gives faster single-stream decode; W4A4 has faster prefill (TTFT) and slightly higher high-concurrency
    throughput. AWQ calibration lowers KL by ~10% vs max (mostly English/Chinese; code about equal).

Serving

Intended for SGLang / vLLM / TensorRT-LLM with ModelOpt checkpoint support on NVIDIA Blackwell GPUs
(native FP4). Tested with SGLang 0.5.23:

sglang serve --trust-remote-code \
  --model-path Icharle/Huihui-Qwen3.8-27B-abliterated-NVFP4-W4A16-AWQ \
  --kv-cache-dtype fp8_e4m3 --reasoning-parser qwen3 --tool-call-parser qwen3_coder

License

Apache-2.0, inherited from Qwen3.8-27B and huihui-ai's release (see LICENSE). The calibration datasets were
only used to measure activation ranges and are not redistributed here.

README history 2 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-11-24 Add files using upload-large-folder tool da2256d 7.7 KB
    Loading...
  2. 2026-11-24 Add files using upload-large-folder tool f032902 4.5 KB
    Loading...
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