This is a quantized version of the
GLM-5.2-REAP-504B-GGUF model. The model has been converted from BF16 to GGUF format with importance matrix optimization.
1llama-cli -m GLM-5.2-504B-Code-IQ2_XXS.gguf -p "Hello"
2llama-server -m GLM-5.2-504B-Code-IQ2_XXS.gguf --host 0.0.0.0 --port 8080
-
Anti-loop (recommended):
min_p=0.05, repetition_penalty=1.05
min_p=0.05, repetition_penalty=1.10
Start at 1.05; go to 1.10 if you see loops — a higher repetition penalty trades a little risk of
over-penalizing legitimate repetition (e.g. in code) for near-zero looping.
-
Conciseness: a brevity system prompt — "Be concise. Think only as much as the task needs, then
answer and stop." — halves median length (1267 → 507 tokens). Note it does not reduce looping
(that's the sampler's job); combine the two for short, low-loop output.
-
Fallback Quantization: 79 tensors required fallback quantization because:
attn_k_b.weight tensors have ncols=192 (not divisible by 256, required for IQ2_XXS), falling back to IQ4_NL
- Other tensors missing importance matrix data
-
Indexer Tensors: All indexer.* tensors were kept in BF16 format as they are critical for the model's routing/indexing mechanism and no importance data was available.
-
Final Layer: blk.78 (the final transformer block) was largely left unquantized to preserve output quality, as importance data was missing for these tensors.
-
Dense Layers: The first three blocks (blk.0 to blk.2) use dense FFN layers instead of MoE, which were quantized with Q2_K.
-
Importance Matrix: Quantization used an importance matrix from 80 chunks of calibration data, optimizing which tensors receive more bits based on their importance to model performance.