GLM-5.3-Flash-DERISKED-Cyber-EXL3-4bpw

Mia-AiLab/GLM-5.3-Flash-DERISKED-Cyber-EXL3-4bpw

作者
Mia-AiLab
任务
多模态
下载量
345
点赞数
37
趋势分
33
许可证
other
收录时间
2026/11/29

license: other license_name: blackfrost-commercial license_link: https://huggingface.co/Blackfrost-AI/GLM-5.3-Flash-Derisked-BF16 base_model: Blackfrost-AI/GLM-5.3-Flash-Derisked-BF16 base_model_relation: quantized pipeline_tag: image-text-to-text language:

  • en
  • zh tags:
  • glm
  • glm-5.3-flash
  • glm5-next
  • mixture-of-experts
  • exl3
  • quantized
  • de-risked
  • tensorfold

GLM-5.3-Flash-DERISKED-Cyber-EXL3-4bpw, by Mia's AI Lab

Mia's AI Lab's EXL3 quantization of Blackfrost-AI/GLM-5.3-Flash-Derisked-BF16 (revision 645b66a9), Blackfrost's de-risked build of Z.AI's GLM-5.3-Flash. Every routed expert weight, in layers 3-44 and the MTP layer 45, is stored at 4 bits with the mcg codebook. The experts were calibrated on our own English hybrid set, which includes offensive and defensive security material (described below).

The tensor layout, names and codebook are the same as in our GLM-5.3-Flash-EXL3-4bpw-TensorFold. Every weight comes from the Derisked BF16 release. The de-risking changed the routed experts' down_proj, so Z.AI's FP8 or BF16 weights were not used.

BaseBlackfrost-AI/GLM-5.3-Flash-Derisked-BF16 @ 645b66a9fa6b75e9a660a2ca31466427c042c69a
ArchitectureGlm5NextForConditionalGeneration, 45 layers + 1 MTP layer, 288 routed experts (top-8) + 1 shared expert
Routed expertsEXL3, 4 bits a weight (gate, up, down), mcg codebook, output scales
Size175.7 GB (163.6 GiB): 83 safetensors shards, index total_size 175,622,979,576
ChecksumsSHA256SUMS (every file)

What is in the checkpoint

PartFormat
Routed experts, layers 3-44 (gate, up, down)EXL3, 4 bits, mcg codebook, output scales
MTP layer 45 routed expertsEXL3, 4 bits, mcg, calibrated with a proxy (see below)
Token embedding and lm_head ([154880, 4096])BF16, byte-identical to the Derisked BF16 release (not quantized)
Everything else (attention and KDA layers, shared experts, dense layers 0-2, router, norms, vision tower)BF16, unchanged from the Derisked BF16 release
Chat template, tokenizer, configsThe Derisked BF16 release's own files. config.json keeps Blackfrost's blackfrost_dwm block

quantization_config.json lists the stored tensors and bit width of every quantized module.

How it was made

  • Quantizer: exllamav3 1.4.2 with our local changes. These are an expert-balance option (alpha=0.1, floor=1024, down_sample=4, shared_in=1: per-expert Hessians blended with an all-token prior, so rarely routed experts are not quantized from a handful of tokens) and a safetensors calibration loader.
  • Input: the Derisked BF16 weights, quantized layer by layer. Each layer is calibrated on the outputs of the already-quantized layers before it.
  • MTP layer 45: the converter has no MTP forward, so its Hessians come from a proxy, quantized after the main pass. The proxy takes the layer-44 MoE inputs of the calibration rows from the quantized model and feeds them through layer 45's own MoE block, whose router picks each token's experts. Layer 45's experts are byte-identical in the Derisked and Z.AI BF16 releases.
  • Proxy error: the converter's per-layer proxy error is 0.0007-0.0020 for gate/up and 0.0011-0.0033 for down, across layers 3-45. There were no fallbacks.
  • Post-pack checks: tensor names and shapes against the reference layout, mcg markers on every expert, BF16 embedding and head byte-identical to the source, a finite-value scan of every tensor, and every expert in the pack equal to the converter's output.

Calibration

Our English hybrid set: 523 rows of up to 4,096 tokens, 786,243 tokens in total (SHA-256 5ba3b953...), rendered with the Derisked release's chat template.

CategoryRowsTokens
Repository coding363260,856
Tool-call exchanges48196,608
Math reasoning1665,536
Algorithmic coding1665,536
Multi-turn chat1665,536
English reference text1561,440
Defensive security1735,098
Offensive security2934,428
Coding workflows31,205

Fidelity

To be published. Quality, speed and memory of this quant have not been measured yet. No benchmark, KL or refusal numbers are claimed here.

Use

Same format as our GLM-5.3-Flash-EXL3-4bpw-TensorFold pack, for the TensorFold GLM-5.3-Flash stack (mcg). Serving this checkpoint has not been validated yet.

License

The weights are subject to the terms of the base model: Blackfrost-AI/GLM-5.3-Flash-Derisked-BF16 and Z.AI's GLM-5.3-Flash, whose MIT license is kept in LICENSE-GLM-5.3-Flash. LICENSE (Apache 2.0) covers Mia's AI Lab's own contribution to this repository, not the weights. Recipients are responsible for complying with the upstream terms.

This checkpoint is a de-risked model and should be assumed capable of producing content a consumer model would decline. Deploy it behind independent controls, logging and access review, and treat its outputs as untrusted.

Credits

内容来源:Hugging Face 模型卡

在 Hugging Face 查看