GLM-5.3-DERISKED-Cyber-EXL3-4bpw, by Mia's AI Lab
Mia's AI Lab's EXL3 quantization of Blackfrost-Research/GLM-5.3-DERISKED-BF16,
the full 78-layer GLM-5.3 (GlmMoeDsaForCausalLM, DSA attention, 256 routed experts, native MTP layer).
Only the routed experts are quantized, at 4 bits with the mul1 codebook. Everything else, including the embedding
and lm_head, is copied byte for byte from the BF16 release.
| Size | 420.4 GB (391.6 GiB), 49 shards, 232,385 tensors |
| Routed experts | EXL3 4 bpw, mul1 codebook, output scales |
| Embedding, head, attention, shared experts, dense layers, router, MTP | BF16, unchanged |
| Serves on | 4x DGX Spark with TensorFold (TP=4) |
What is in the checkpoint
| Part | Format | Source |
|---|---|---|
| Routed experts, layers 3-77 (57,600 projections: gate, up, down) | EXL3, 4 bits a weight, mul1 codebook (0x83DCD12D), output scales |
quantized from the FP8 release (E4M3, 128x128 block scales) |
model.embed_tokens, lm_head ([154880, 6144]) |
BF16 | byte for byte from the BF16 release |
| Attention (DSA, indexer), shared experts, dense MLPs (layers 0-2), router, norms | BF16 / FP32 as in the source | byte for byte from the BF16 release |
| MTP layer 78 | source precision | byte for byte from the BF16 release |
| Tokenizer, chat template, generation config | the FP8 release |
config.json carries quantization_config = {"quant_method": "exl3", "bits": 4, "head_bits": 16, "codebook": "mul1"}.
4 bpw refers to the routed experts; the BF16 parts raise the checkpoint's average.
SHA256SUMS covers every file and conversion-report.json records the sources, calibration and tensor counts.
How it was made
- Converter: exllamav3 at
8c593e4e, with local changes for the FP8 source and the BF16 byte copy; upstream's Hessian and input-transform implementation. - Sources: BF16 release at
45e8d608, FP8 release ate84d7fe5. - Calibration: our own English hybrid set, 523 rows of up to 4,096 tokens, 786,243 tokens in total
(SHA-256
5ba3b953...):
| Category | Tokens |
|---|---|
| Repository coding | 260,856 |
| Tool-call exchanges | 196,608 |
| Math reasoning | 65,536 |
| Algorithmic coding | 65,536 |
| Multi-turn chat | 65,536 |
| English reference text | 61,440 |
| Defensive security | 35,098 |
| Offensive security | 34,428 |
| Coding workflows | 1,205 |
Fidelity
Scored with the GLM-5.3 eval suite against GLM-5.3-Derisked itself (BF16 attention and dense weights, the release's FP8 experts as the reference for the routed experts), so the numbers measure quantization error only, not the derisking fine-tune's own distance from stock GLM-5.3. Metric: KL divergence over the reference's top-20 tokens (the rest of the vocabulary folded into one bucket), averaged per window; 95% intervals are paired-t on the window means.
| Panel | Top-20 KL [95% CI] | Top-1 agreement | Flips where the reference is > 90% sure |
|---|---|---|---|
| 72-window panel, all domains (67 x 2,048 tokens, 82,177 confident positions) | 0.057 [0.048, 0.066] | 93.19% | 251 (0.31%) |
| 8K code panel (2 x 8,192 tokens, 12,156 confident positions) | 0.008 [0.004, 0.013] | 97.82% | 2 (0.02%) |
| Domain | Top-20 KL [95% CI] | Top-1 | Confident flips | NLL of the text, reference / this quant |
|---|---|---|---|---|
| Code | 0.035 [0.021, 0.049] | 96.75% | 0.23% | 0.361 / 0.378 |
| Japanese | 0.033 [0.025, 0.042] | 93.08% | 0.09% | 1.359 / 1.366 |
| Russian | 0.039 [0.032, 0.045] | 94.09% | 0.16% | 0.924 / 0.934 |
| Chinese | 0.050 [0.038, 0.062] | 92.84% | 0.22% | 1.097 / 1.115 |
| Prose | 0.072 [0.044, 0.101] | 92.91% | 0.48% | 0.901 / 0.917 |
| Chat | 0.103 [0.076, 0.130] | 90.94% | 0.60% | 1.260 / 1.260 |
| All | 0.057 [0.048, 0.066] | 93.19% | 0.31% | 1.030 / 1.041 |
For scale, the same panel scores other 4-bit-class GLM-5.3 builds against their parent, stock GLM-5.3 BF16. Each number is quantization error against its own source, so this compares quantizations, not models:
| Build (parent) | Top-20 KL, 72-window panel | Top-1 | 8K code panel KL |
|---|---|---|---|
| This quant, EXL3 4 bpw (GLM-5.3-Derisked) | 0.057 | 93.19% | 0.008 |
| EXLR8 up1 (GLM-5.3) | 0.059 | 93.11% | 0.011 |
| K4 (GLM-5.3) | 0.064 | 93.12% | 0.010 |
| NVFP4 (GLM-5.3) | 0.067 | 92.86% | 0.010 |
| EXLR8 bit338 (GLM-5.3) | 0.092 | 91.43% | 0.013 |
K4 and NVFP4 were scored on TensorFold with patch 0183 (the SwiGLU clamp fix); before that fix the engine scored them 0.112 and 0.116.
Rows 0-1 of each window and target ids >= 154,820 are masked (unmasked, all rows: 0.058). NLL is a diagnostic, not a quality score: a build far below the reference's NLL has drifted as surely as one above it.
License
The base model is released under the GLM-5.3 License by Z.AI (LICENSE, kept unchanged in this repository).
This quantization is distributed under the same terms. Recipients are responsible for complying with the upstream
terms of Z.AI and of the Blackfrost-Research release.
Credits
- Base model: Z.AI, GLM-5.3 (GLM-5.3 License).
- Derisked fine-tune: Blackfrost-Research.
- Quantization format and converter: exllamav3 by turboderp (MIT).
- Serving engine: TensorFold.