玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
huginnfork /

Qwen3.6-27B-uncensored-heretic-v2-mtp-NVFP4A16

HF 源站

huginnfork/Qwen3.6-27B-uncensored-heretic-v2-mtp-NVFP4A16 is an uncensored open-source model hosted on Hugging Face.

Image-Text-to-TextsafetensorsLicense: apache-2.027Bqwen3_5nvfp4nvfp4a16compressed-tensorsmultimodalmtpspeculative-decodinghereticabliterationconversational
README.md说明 / 使用方法

license: apache-2.0 base_model:

  • huginnfork/Qwen3.6-27B-uncensored-heretic-v2-mtp
  • Qwen/Qwen3.6-27B pipeline_tag: image-text-to-text tags:
  • nvfp4
  • nvfp4a16
  • compressed-tensors
  • multimodal
  • mtp
  • speculative-decoding
  • heretic
  • abliteration base_model_relation: quantized

huginnfork/Qwen3.6-27B-uncensored-heretic-v2-mtp-NVFP4A16

NVFP4A16 quantisation derived from the heretic-abliterated llmfan46/Qwen3.6-27B-uncensored-heretic-v2 of Qwen/Qwen3.6-27B, with the MTP head and vision tower preserved in bf16.

Provenance

  • Base: Qwen/Qwen3.6-27B (bf16)
  • Abliteration tool: heretic v1.2.0 (ARA) by Philipp Emanuel Weidmann (p-e-w)
  • Abliterated source weights: llmfan46/Qwen3.6-27B-uncensored-heretic-v2 — the heretic-derived bf16 abliteration of Qwen/Qwen3.6-27B
  • MTP head: re-grafted from Qwen/Qwen3.6-27B (15 tensors, ~810 MB bf16) so SGLang/vLLM speculative decoding (--speculative-algo NEXTN) works
  • Vision tower: model.visual.* preserved in bf16 (333 tensors)

Quantisation

  • Format: NVFP4A16 W4A16 (4-bit FP4 weights with FP8 E4M3 per-group scales, group_size=16; bf16 activations) via llm-compressor 0.10 + compressed-tensors 0.14
  • Scheme: see recipe.yaml — NVFP4A16 keeps activations in bf16, which is the dominant KLD source under W4A4 on this hybrid stack.
  • Kept in bf16 (quantization_config.ignore): lm_head, all model.visual.*, all mtp.*, and the entire linear_attn Mamba/SSM block (in_proj_*, out_proj, conv1d)

KL divergence measurements

KLD computed with eval_kld.py — per-token KLD averaged over 8 samples from neuralmagic/calibration (LLM split), max_seq=1024. Max sample KLD is the highest single-sample mean (catches outliers that the overall mean hides).

ComparisonMean KLD (nats)Max sample KLDSamplesmax_seq
vs Qwen3.6-27B base0.10120.221381024

Note: this pipeline always uploads the resulting checkpoint. Consult the KL divergence numbers above to judge whether the result is acceptable for your use case.

Perplexity (wikitext-2-raw)

Wikitext-2-raw test split, non-overlapping chunks of 2048 tokens, computed with eval_ppl.py. Same tokenizer for every row so the numbers compare apples-to-apples.

ModelPerplexityTokens scoredDatasetseq
Qwen3.6-27B base (bf16)7.3057296907wikitext/wikitext-2-raw-v1/test2048
heretic-v2-mtp (bf16)7.4619296907wikitext/wikitext-2-raw-v1/test2048
this checkpoint7.8022296907wikitext/wikitext-2-raw-v1/test2048

Inference

transformers (text + vision; MTP not exercised)

from transformers import AutoModelForImageTextToText, AutoProcessor
import torch

repo = "huginnfork/Qwen3.6-27B-uncensored-heretic-v2-mtp-NVFP4A16"
proc = AutoProcessor.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
    repo, dtype=torch.bfloat16, device_map="auto", trust_remote_code=True,
)

vLLM (NVFP4A16 + MTP speculative decoding)

vllm serve huginnfork/Qwen3.6-27B-uncensored-heretic-v2-mtp-NVFP4A16 \
    --trust-remote-code \
    --gpu-memory-utilization 0.85 \
    --max-model-len 8192 \
    --quantization compressed-tensors \
    --speculative-config '{"method":"qwen3_5_mtp","num_speculative_tokens":1}'

FP4 weights are unpacked to bf16 at compute time. Native FP4 GEMM requires Blackwell (SM100+); on older GPUs vLLM dequantises at runtime.

HUGGING FACE

上游数据

HF 下载量83
HF 点赞量2

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
huginnfork
最近更新
2026/04/27
最新创建
2026/04/26
HF 趋势
未知
数据快照
2026/09/16
版本
未知
许可证
apache-2.0