Downloads · 30 days
115
8% of all-time downloads
MuXodious/GLM-4.7-Flash-REAP-23B-A3B-absolute-heresy
GLM-4.7-Flash-REAP-23B-A3B-absolute-heresy is a text generation model from MuXodious. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This is a GLM-4.7-Flash-REAP-23B-A3B fine-tune, produced at the request of McG-221 through P-E-W's Heretic (v1.1.0) abliteration engine merged with the Magnitude-Preserving Orthogonal Ablation PR.
Downloads · 30 days
115
8% of all-time downloads
All-time downloads
1.5K
Public
Parameters
23B
46 GB on disk
Likes
9
Public
Click a slice to open those files.
.safetensors46 GB · 100%
How the weights are stored.
BF1623B · 100%
From the Hugging Face model README
This is a GLM-4.7-Flash-REAP-23B-A3B fine-tune, produced at the request of McG-221 through P-E-W's Heretic (v1.1.0) abliteration engine merged with the Magnitude-Preserving Orthogonal Ablation PR.
Note: Transformers v5.0.0 or higher is required to interface.
Heretication Results
| Score Metric | Value | Parameter | Value |
|---|---|---|---|
| Refusals | 4/100 | direction_index | 21.21 |
| KL Divergence | 0.0054 | attn.o_proj.max_weight | 1.99 |
| Initial Refusals | 92/100 | attn.o_proj.max_weight_position | 29.07 |
| attn.o_proj.min_weight | 1.30 | ||
| attn.o_proj.min_weight_distance | 12.21 | ||
| mlp.down_proj.max_weight | 1.39 | ||
| mlp.down_proj.max_weight_position | 30.10 | ||
| mlp.down_proj.min_weight | 1.09 | ||
| mlp.down_proj.min_weight_distance | 2.82 |
The Heresy Index weighs the resulting model's corruption by the process (KL Divergence) and its abolition of doctrine (Refusals) for a final verdict in classification.
| Index Entry | Classification | Analysis |
|---|---|---|
| Absolute Heresy | Less than 10/100 Refusals and 0.10 KL Divergence | |
| Tainted Heresy | Around 25-11/100 Refusals and/or -0.20-0.11 KL Divergence | |
| Impotent Heresy | Anything above 25/100 Refusals and 0.21 KL Divergence |
Note: This is an arbitrary classification inspired by Warhammer 40K, having no tangible indication towards the model's performance.
Introducing GLM-4.7-Flash-REAP-23B-A3B, a memory-efficient compressed variant of GLM-4.7-Flash that maintains near-identical performance while being 25% lighter.
This model was created using REAP (Router-weighted Expert Activation Pruning), a novel expert pruning method that selectively removes redundant experts while preserving the router's independent control over remaining experts. Key features include:
GLM-4.7-Flash-REAP-23B-A3B has the following specifications:
🟩 This checkpoint maintains almost identical performance while being 25% lighter.
For more details on the evaluation setup, refer to the REAP arXiv preprint.
You can deploy the model directly using the latest vLLM (that supports GLM4.7-Flash), no source modifications or custom patches required.
vllm serve cerebras/GLM-4.7-Flash-REAP-23B-A3B \
--tensor-parallel-size 4 \
--reasoning-parser glm45 \
--tool-call-parser glm47 \
--enable-auto-tool-choice
If you encounter insufficient memory when running this model, you might need to set a lower value for --max-num-seqs flag (e.g. set to 64).
This checkpoint was created by applying the REAP (Router-weighted Expert Activation Pruning) method uniformly across all Mixture-of-Experts (MoE) blocks of GLM-4.7, with a 25% pruning rate.
REAP selects experts to prune based on a novel saliency criterion that considers both:
This dual consideration ensures that experts contributing minimally to the layer's output are pruned, while preserving those that play critical roles in the model's computations.
The model was calibrated using a diverse mixture of domain-specific datasets including:
📚 For more details, refer to the following resources:
This model is derived from
zai-org/GLM-4.7-Flash
and distributed under the MIT license.
If you use this checkpoint, please cite the REAP paper:
@article{lasby-reap,
title={REAP the Experts: Why Pruning Prevails for One-Shot MoE compression},
author={Lasby, Mike and Lazarevich, Ivan and Sinnadurai, Nish and Lie, Sean and Ioannou, Yani and Thangarasa, Vithursan},
journal={arXiv preprint arXiv:2510.13999},
year={2025}
}