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

Huihui-Qwopus3.5-27B-v3-abliterated-HLWQ-Q5

HF 源站

caiovicentino1/Huihui-Qwopus3.5-27B-v3-abliterated-HLWQ-Q5 is an uncensored open-source model hosted on Hugging Face.

Text GenerationvLLMsafetensorsChineseEnglishMultilingualLicense: apache-2.027Btransformersqwen3_5image-text-to-texthlwqquantizedcompressed-tensorsint4marlinqwen3.5hybrid-attentiongated-deltanetabliteratedconversationalkoja
README.md说明 / 使用方法

license: apache-2.0 base_model: Jackrong/Qwopus3.5-27B-v3 language:

  • en
  • zh
  • ko
  • ja tags:
  • hlwq
  • quantized
  • compressed-tensors
  • int4
  • marlin
  • vllm
  • qwen3.5
  • hybrid-attention
  • gated-deltanet
  • abliterated library_name: transformers pipeline_tag: text-generation

⚡ Huihui-Qwopus3.5-27B-v3-abliterated — HLWQ CT INT4

CompressedTensors INT4 of Jackrong/Qwopus3.5-27B-v3 (abliterated) via HLWQ (Hadamard-Lloyd Weight Quantization)

Native vLLM. Marlin kernel. Zero plugin. 168 tok/s on A100.

📊 Compression

Compression

MetricValue
📦 FormatCompressedTensors INT4 symmetric (gs=128)
💾 Model size15.2 GB (3 shards)
📉 Compression72% (54 → 15.2 GB)
⚡ KernelMarlin (fused dequant+matmul)
🏗️ ArchitectureQwen3.5 hybrid — 64 layers (48 GDN + 16 Full Attention)
🔢 Parameters27B dense

🏎️ Quick Start — One Command

pip install vllm
vllm serve caiovicentino1/Huihui-Qwopus3.5-27B-v3-abliterated-HLWQ-Q5 \
  --language-model-only --enforce-eager

No plugin. No pip install polarquant. No custom code.

📊 Speed

Speed Benchmark

GPUtok/sVRAM
A100 80GB16815.2 GB
RTX PRO 6000 96GB1815.2 GB
RTX 4090 24GB~1015.2 GB

🎯 Quality

Quality PPL

MethodPPL (WikiText-2)Delta
BF16 baseline6.37—
HLWQ → INT4 (ours)6.56+0.19
Direct INT4 (naive)6.68+0.31

HLWQ produces better INT4 weights than direct quantization — 0.12 PPL improvement from Hadamard rotation + Lloyd-Max preprocessing.

💻 GPU Compatibility

GPU Compatibility

GPUVRAMStatus
RTX 4060 Ti16 GB⚠️ Tight (15.2 GB model + KV cache)
RTX 409024 GB✅ Comfortable
A100 / H10080 GB✅ Full speed
RTX PRO 600096 GB✅ Full speed

🧬 Architecture

Architecture

SpecValue
Parameters27B (dense)
Layers64 (48 GDN + 16 Full Attention)
Hidden dim3584
Head dim128
Context131,072 tokens
VisionMultimodal ViT (skipped with --language-model-only)

🔬 How HLWQ Works

Standard INT4 quantizes weights directly — outliers cause high error. HLWQ adds a preprocessing step before INT4:

BF16 weights
    │
    ▼
[1] Hadamard rotation → distributes energy uniformly
    │  (eliminates outliers, weights become Gaussian)
    │
    ▼
[2] Lloyd-Max Q5 → MSE-optimal 5-bit quantization
    │  (best possible codebook for Gaussian distribution)
    │
    ▼
[3] Dequant → BF16 → INT4 symmetric (gs=128)
    │  (cleaner weights = better INT4)
    │
    ▼
CompressedTensors (Marlin kernel) → vLLM serve

Same speed as GPTQ/AWQ, better quality.

🔧 Usage with Transformers

pip install polarquant
import polarengine_vllm  # auto-registers with transformers
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "caiovicentino1/Huihui-Qwopus3.5-27B-v3-abliterated-HLWQ-Q5",
    device_map="auto", trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained(
    "caiovicentino1/Huihui-Qwopus3.5-27B-v3-abliterated-HLWQ-Q5",
    trust_remote_code=True
)

inputs = tokenizer("Hello!", return_tensors="pt").to("cuda")
out = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(out[0], skip_special_tokens=True))

⚠️ Important Flags

FlagWhy
--language-model-onlyQwen3.5 is multimodal — skip vision encoder (text weights only)
--enforce-eagerRequired on Blackwell GPUs (cc 12.0). Optional on Ampere/Hopper

📖 Citation

@misc{hlwq2026,
  title={HLWQ: Hadamard-Lloyd Weight Quantization for Large Language Models},
  author={Caio Vicentino},
  year={2026},
  url={https://arxiv.org/abs/2603.29078}
}

🔗 Links

ResourceLink
📄 PaperarXiv:2603.29078
🔧 CodeGitHub
📦 PyPIpip install polarquant
🏠 Base modelJackrong/Qwopus3.5-27B-v3
🔀 vLLM pluginpolarengine-vllm
HUGGING FACE

上游数据

HF 下载量42
HF 点赞量15

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

SITE STATS

本站统计

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

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

来源与版本

作者
caiovicentino1
最近更新
2026/04/18
最新创建
2026/04/06
HF 趋势
未知
数据快照
2026/09/17
版本
未知
许可证
apache-2.0