qwen35-4b-glaze@0.1.0
Research releaseQwen3.5-4B · Glaze
Mixed 4-bit and 8-bit compression of Qwen3.5-4B: 83.2% on MATH-500 versus BF16’s 83.4%, in a 3.80 GB checkpoint. Published weights and text/vision evaluation records.
Glaze
External research measurements, attributed to the pinned source records. The Hub has not verified a complete lazybrick evidence bundle or rerun these experiments.
Published by the research project. No native lazybrick execution adapter or executable lazybrick recipe is available.
The published checkpoint retains its upstream repository name, lazybrick/Qwen3.5-4B-Kiln-Glaze-W4A16. This Hub entry uses Glaze.
Compression method
- Generate BF16 answers to 4,419 training prompts from MATH, ARC-Challenge, SciQ, and UltraChat; remove 13-gram overlaps with MATH-500 and MMLU-Pro.
- Pack 512 calibration blocks of 2,048 tokens with a 40/40/20 math, multiple-choice, and chat mixture; reserve 64 validation blocks.
- Estimate layer sensitivity with sampled-label Fisher factors, then allocate precision under the checkpoint byte budget.
- Quantize the vision tower to INT8 and spend the freed bytes on sensitive language layers: INT4 with group sizes 32, 64, or 128, and INT8 with group size 128.
- Learn rounding and clipping with Fisher-weighted layer reconstruction, up to 400 iterations per layer; export compressed-tensors. Token embeddings and lm_head remain BF16.
Activations remain BF16. This is a mixed INT4/INT8 model, with an INT8 vision tower and BF16 embeddings and output head. It is not uniformly 4-bit.
Published benchmark results
Scores are percentages except WikiText-2 perplexity, where lower is better. These are the full-suite results; the fixed 1,001-question MMLU-Pro panel is a separate comparison.
| Task / metric | BF16 | INT8 | GPTQ | AWQ | AutoRound | Glaze |
|---|---|---|---|---|---|---|
| MMLU-Proexact match | 74.6 | 74.3 | 71.4 | 71.9 | 72.8 | 73.7 |
| GSM8Kflexible extract | 83.2 | 83.5 | 81.9 | 82.6 | 82.3 | 82.8 |
| MATH-500math_verify | 83.4 | 82.6 | 75.8 | 73.4 | 73.2 | 83.2 |
| IFEvalprompt-level strict | 82.3 | 82.1 | 80.8 | 79.3 | 80.6 | 82.8 |
| HellaSwagacc_norm | 65.4 | 65.2 | 64.3 | 64.8 | 64.8 | 64.8 |
| ARC-Challengeacc_norm | 51.1 | 49.7 | 50.8 | 50.0 | 50.0 | 49.6 |
| WikiText-2 perplexity (lower is better)word perplexity | 10.95 | 11.09 | 11.43 | 11.55 | 11.45 | 11.30 |
| MMBench (dev, EN v1.1)accuracy | 85.4 | 83.7 | 84.1 | 82.9 | 84.7 | 85.7 |
| MMMU (val)accuracy | 69.6 | 67.7 | 64.9 | 65.7 | 66.9 | 66.7 |
| MathVista (mini)accuracy | 81.0 | 81.8 | 78.0 | 78.0 | 80.3 | 80.6 |
| OCRBenchnormalized score | 86.3 | 87.5 | 86.0 | 87.1 | 87.2 | 86.3 |
| DocVQA (val)ANLS | 95.3 | 95.3 | 94.8 | 95.1 | 95.3 | 95.4 |
| TextVQA (val)accuracy | 82.8 | 82.2 | 81.7 | 81.8 | 82.5 | 82.2 |
Export size: 3.80 GB (3,795,765,945 bytes), against 9.32 GB for BF16 and 3.80 GB for AutoRound. This measures storage, not inference speed.
On MATH-500, Glaze scores 83.2 against BF16’s 83.4 and AutoRound’s 73.2. The publisher reports a paired gain of +10.0 points over AutoRound (95% interval +6.6 to +14.0). The calibration-data control reaches 80.2; the residual comparison does not isolate a quantizer gain.
Full comparison and source table · Per-sample evaluation records · Calibration and allocation controls
Evaluation protocol
| Mode | Instruct · thinking disabled · greedy decoding |
|---|---|
| Generation budget | 8,192 tokens |
| Context limits | Text 12,288 · vision 32,768 |
| Seed | 42 |
| Reported hardware | NVIDIA A100 · 40 GB. Baselines used A30s. |
| vllm | 0.29.0 |
| lm-evaluation-harness | 0.4.13 |
| transformers | 5.12.1 |
| quantization torch | 2.10.0 |
| text evaluation torch | 2.13.0+cu130 |
| compressed-tensors | 0.18.0 |
| VLMEvalKit | 34a64e619d5466ab3a900f1720041ea88d4a1ed6 |
gpt-4o-mini for MMBench, MMMU, and MathVista; fixed scoring rules for the remaining vision tasks. MMMU extraction failed on 6 of 900 answers.
Evaluation protocol and dataset definitions · Method and experimental record
Limitations and controls
- These are publisher-reported results under an instruct-mode protocol, not the base model card’s thinking-mode scores. The Hub has not rerun the benchmarks or downloaded the weight file for local hash verification.
- The original GPTQ, AWQ, and AutoRound baselines use general-chat calibration; Glaze uses in-domain data and a larger calibration volume. Their score differences combine data, optimization, and precision choices.
- The published data control takes AutoRound from 73.2 to 80.2 on MATH-500. The remaining 3.0-point difference to Glaze has a paired 95% interval of −0.2 to +6.2 and does not isolate the quantization mechanism.
- Glaze is 1.5 points below BF16 on ARC-Challenge and 2.9 below on MMMU. ARC-Challenge training prompts are used in calibration without a train/test overlap check.
- Glaze was evaluated on an A100, while the original baselines ran on A30s; repeated evaluations differ by about 1–2 points. One calibration/tuning seed was used; paired intervals resample questions, not seeds.
- Validation KL selected the rounding state, so it is validation evidence. The full AutoRound mixed-precision allocation control remains incomplete in the pinned controls record.
- The reported 3,795,765,945-byte export inventory excludes later model-card and compression-manifest files. It is distinct from the 3,772,831,712-byte safetensors weight file and the current repository storage size.
- No latency, throughput, FLOP reduction, or universal advantage is claimed. The 40 GB A100 is reported experiment hardware, not a measured minimum inference requirement.
Use the published checkpoint
Use a compatible Linux/CUDA environment. The publisher tested vLLM 0.29.0 with compressed-tensors. These commands download weights or start inference when you run them.
hf download lazybrick/Qwen3.5-4B-Kiln-Glaze-W4A16 --revision aee82c5370e21798fb33abb695c80aa51d1fb251 --local-dir ./qwen35-4b-glazevllm serve lazybrick/Qwen3.5-4B-Kiln-Glaze-W4A16 \
--revision aee82c5370e21798fb33abb695c80aa51d1fb251 \
--dtype bfloat16 --max-model-len 32768{
"model": "lazybrick/Qwen3.5-4B-Kiln-Glaze-W4A16",
"messages": [
{
"role": "user",
"content": "What is 12 \u00d7 13?"
}
],
"temperature": 0,
"max_tokens": 8192,
"chat_template_kwargs": {
"enable_thinking": false
}
}Send the request body to the server’s /v1/chat/completions endpoint. Disable thinking in each request to match the published instruct track. Downloading the checkpoint does not reproduce quantization or the benchmark suite.
Identity, provenance, and license
| Base model | Qwen/Qwen3.5-4B |
|---|---|
| Base revision | 851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a |
| Checkpoint | lazybrick/Qwen3.5-4B-Kiln-Glaze-W4A16 |
| Checkpoint revision | aee82c5370e21798fb33abb695c80aa51d1fb251 |
| Weight SHA-256 | 87587d584bbe854233fdda96ab29d1697c3efa7fe51d139fea49c3288ee42c5c |
| Evaluation dataset | lazybrick/kiln-evals |
| Evaluation revision | 257850afd3a4af49105923fa5b6170da27f6074d |
| Execution source revision | d3a2e2b5739b8d701b5ccf33f7282da1a76350b1 |
| Documentation revision | 7a4499fa04db80cbc163fa82690b5957a79c6546 |
The model card declares Apache-2.0 for the checkpoint, inherited from Qwen3.5-4B. Evaluation records declare Apache-2.0; underlying datasets retain their own terms. The Hub distributes metadata and source records, not weights or calibration datasets.
Source snapshots below preserve upstream terminology and exact bytes. Their checksums detect changes to imported files; they do not authenticate hardware execution or constitute a complete lazybrick evidence bundle.
- model-card.md upstream · Imported snapshot
SHA-256 c62ebc49fd2978acdc5e4dd16e96a4f4ac549906732ac566c01746fe7a855aa1 - compression-manifest.json upstream · Imported snapshot
SHA-256 3255616c54082359417ed20416c8e580d43781d56770ad67279d321fb9541cc7 - model-config.json upstream · Imported snapshot
SHA-256 3447c26bd42b061fd51eedd826f3048dbb8da60d99cc14528167ac232ca324fc - evaluation-manifest.json upstream · Imported snapshot
SHA-256 53ddadf705552d46bff06e4768f3f3bdfb24302003ba27823c77179438894b7f - text-results.json upstream · Imported snapshot
SHA-256 f92a8395c3370663f5eb417abd86c7276a2630bdec5af01795e964eefdefa54f
Release metadata: release.json. Release identities and file hashes are separate from lazybrick recipe, plan, run, artifact, and evidence identities.