Views
No views yet
[!IMPORTANT] Naming notice (2026-04-10). The "HLWQ" technique used in this model is being rebranded to HLWQ (Hadamard-Lloyd Weight Quantization). The change is only the name; the algorithm and the weights in this repository are unchanged.The rebrand resolves a name collision with an unrelated, earlier KV cache quantization method also named HLWQ (Han et al., arXiv:2502.02617, 2025). HLWQ addresses weight quantization with a deterministic Walsh-Hadamard rotation and Lloyd-Max scalar codebook; Han et al.'s HLWQ addresses KV cache quantization with a random polar rotation. The two methods are technically distinct.Existing loaders that load this repository by ID continue to work without changes. Future model uploads will use the HLWQ name.Reference paper for this technique: arXiv:2603.29078 (v2 in preparation; v1 still uses the old name).
| Metric | INT4 (ours) | BF16 (base) | Delta |
|---|---|---|---|
| 🎯 HumanEval (thinking) | 78.66% | 97.56% (Jackrong) | -18.9pp |
| 🎯 HumanEval (standard) | 55.49% | not measured | — |
| 📦 Download | 19.2 GB | 54.7 GB | -65% |
| ⚡ BPW | 4.475 | 16 | 3.6x smaller |
| 🚀 Kernel | Marlin | — | Native vLLM |
Note on the thinking-mode gap: The 18.9pp delta from BF16 (97.56% → 78.66%) is a real quality impact of INT4 quantization on chain-of-thought code generation at 27B scale. Users who need maximum thinking-mode quality should consider the BF16 base model from Jackrong.



<think> tags for chain-of-thought reasoning before answering.1from vllm import LLM, SamplingParams
2
3model = LLM(
4 "caiovicentino1/Qwopus3.5-27B-v3-HLWQ-v7-GPTQ",
5 trust_remote_code=True,
6 language_model_only=True,
7 gpu_memory_utilization=0.75,
8)
9
10output = model.generate(
11 ["Write a Python function to sort a list:"],
12 SamplingParams(max_tokens=4096, temperature=0.0),
13)
14print(output[0].outputs[0].text)1vllm serve caiovicentino1/Qwopus3.5-27B-v3-HLWQ-v7-GPTQ \
2 --trust-remote-code --language-model-only \
3 --gpu-memory-utilization 0.75 --max-model-len 163841# Same config as our 9B v7 — bits=4, gs=64, FOEM
2from gptqmodel import GPTQModel
3from gptqmodel.quantization import QuantizeConfig
4from gptqmodel.quantization.config import FOEMConfig
5
6quantize_config = QuantizeConfig(
7 bits=4,
8 group_size=64,
9 sym=True,
10 desc_act=True,
11 foem=FOEMConfig(alpha=0.25, beta=0.2, device="auto")
12)neuralmagic/LLM_compression_calibration| Mode | Score | Method |
|---|---|---|
| Thinking (chat template) | 78.66% | 129/164, automated exec() |
| Standard (lm-eval) | 55.49% | lm_eval --tasks humaneval |
| BF16 Thinking (Jackrong) | 97.56% | Reported by base model author |
exec()-based checking), but we have not isolated this component through direct comparison.| Parameter | Value |
|---|---|
| Base Model | Jackrong/Qwopus3.5-27B-v3 |
| Architecture | Qwen3.5 (48 linear_attn + 16 full_attn) |
| Hidden Size | 5120 |
| Layers | 64 |
| Bits | 4 |
| Group Size | 64 |
| FOEM | alpha=0.25, beta=0.2 |
| BPW | 4.475 |
| Format | GPTQ v1 (Marlin compatible) |
1@article{vicentino2026polarquant,
2 title={HLWQ: Polar Coordinate Quantization for Efficient LLM Inference},
3 author={Vicentino, Caio},
4 journal={arXiv preprint arXiv:2603.29078},
5 year={2026}
6}