patrickbdevaney commited on
Commit
46cb1bb
·
verified ·
1 Parent(s): 8654e38

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +68 -1
README.md CHANGED
@@ -9,13 +9,80 @@ tags:
9
  - moe
10
  - pruned
11
  ---
12
-
13
  # GLM-5.3-Flash REAP-50 — GGUF
14
 
15
  4-bit GGUF quantisations of a **50%-expert-pruned** GLM-5.3-Flash (321B → ~165B), built with
16
  [REAP](https://github.com/CerebrasResearch/reap) saliency pruning and a measured output-scale
17
  correction.
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ## ⚠️ Requires a patched llama.cpp — stock builds cannot load these files
20
 
21
  GLM-5.3-Flash uses **mHC hyper-connections**: four parallel residual streams per layer, mixed by
 
9
  - moe
10
  - pruned
11
  ---
 
12
  # GLM-5.3-Flash REAP-50 — GGUF
13
 
14
  4-bit GGUF quantisations of a **50%-expert-pruned** GLM-5.3-Flash (321B → ~165B), built with
15
  [REAP](https://github.com/CerebrasResearch/reap) saliency pruning and a measured output-scale
16
  correction.
17
 
18
+
19
+ ## Versions — which weights are which
20
+
21
+ Three selection passes have shipped. Each is a **different mask**, not a re-run of the same one,
22
+ and all keep **144 of 288 routed experts** (REAP50). What differs is *which* 144.
23
+
24
+ **Older weights are never overwritten.** The subdirectory tells you the version.
25
+
26
+ | version | method | healing | location in this repo |
27
+ |---|---|---|---|
28
+ | **v2** | refined REAP scalar mask | per-expert | **repo root** (the files beside this card) |
29
+ | **v3** | **HOPE** — interaction-aware, `protect_frac=0.04` | per-expert | subdirectory **`pass3-hope/`** |
30
+
31
+ > The repo name's `-v2` suffix is from the pass-2 release and is now just a name. Read the
32
+ > **path**, not the repo title: root = v2, `pass3-hope/` = v3.
33
+
34
+ v1 (the first published REAP mask) is superseded and not carried here.
35
+
36
+ ### What v3 changed, and why
37
+
38
+ v2 ranked each expert alone and took the top-k. [arXiv 2609.18916] shows that is exactly HOPE with
39
+ the off-diagonal of `F` zeroed — two experts that duplicate each other are cheap to drop together,
40
+ two that complement each other are not, and a per-expert ranking cannot tell the difference. v3
41
+ minimises `pᵀFp`, the output error a prune set actually causes, over the same accumulators.
42
+
43
+ v2 also ran with **no domain floor** and lost ballast capability as a result. v3 sets
44
+ `protect_frac = 0.04`, measured off this run's own accumulators at the knee of worst-domain
45
+ retention against interaction cost — not guessed, and not inherited from MiMo's 0.08, which sits
46
+ where marginal efficiency is 0.43.
47
+
48
+ v3 is calibrated on **866,678,064 routed slots** (42 layers x 10 chunks) and heals to a median gain
49
+ of 0.766 across 42 layers with none skipped.
50
+
51
+ ### Honest comparison
52
+
53
+ v1 -> v2 improved reconstruction residual by 2.5% but was **zero to within noise** end to end
54
+ (top-1 agreement 0.8370 -> 0.8369, SE 0.00075 on 241,516 held-out tokens). Per domain it was a
55
+ redistribution rather than a lift. **v3 has not yet been evaluated end to end** — when it has, the
56
+ numbers will be published here. Until then, treat v3 as "better-motivated selection, unproven
57
+ head-to-head", not as a measured improvement.
58
+
59
+ ### Two caveats that apply to v3
60
+
61
+ - **No bio coverage.** The bio domain saw **0** of 866,678,064 routed slots, because every bio
62
+ source is excluded by licence or clinical scope (`camel-ai/biology`, `tattabio/OG`, `PubMedQA`).
63
+ Selection scored the 7 live domains. This is a property of the calibration corpus, not a bug, and
64
+ no amount of recomputation changes it. **Do not rely on this model for biomedical work.**
65
+ - **Long-context assurance is at 8192 tokens**, not the intended 16384. A single 16384-token
66
+ forward needs >93 GiB — attention is quadratic and one forward is indivisible, so no amount of
67
+ blocking helps on the build host. 8192 is still 4x the 2048 tokens the mask was calibrated at.
68
+
69
+ Full method write-up: **[glm-5.3-reap/wiki/31-pass3-hope-method.md](https://github.com/patrickbdevaney/glm-5.3-reap/blob/main/wiki/31-pass3-hope-method.md)**
70
+
71
+ ### Download a specific version
72
+
73
+ ```bash
74
+ # v3 (HOPE) Q4_K_M
75
+ hf download patrickbdevaney/GLM-5.3-Flash-REAP50-GGUF \
76
+ --include "pass3-hope/*" --local-dir ./glm53-reap50-gguf-v3
77
+
78
+ # v2 quants - repo root (IQ3_M, IQ4_XS, Q3_K_M, Q4_K_M, Q4_K_S)
79
+ hf download patrickbdevaney/GLM-5.3-Flash-REAP50-GGUF \
80
+ GLM-5.3-Flash-REAP50-Q4_K_M.gguf
81
+ ```
82
+
83
+ The v2 quants at root span IQ3_M through Q4_K_S. **v3 ships Q4_K_M only** for now. The `mmproj`,
84
+ `imatrix` and llama.cpp patch at root apply to both versions.
85
+
86
  ## ⚠️ Requires a patched llama.cpp — stock builds cannot load these files
87
 
88
  GLM-5.3-Flash uses **mHC hyper-connections**: four parallel residual streams per layer, mixed by