patrickbdevaney commited on
Commit
fb2b8ad
·
verified ·
1 Parent(s): 6542dc0

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +67 -1
README.md CHANGED
@@ -3,7 +3,6 @@ license: mit
3
  base_model: zai-org/GLM-5.3-Flash
4
  tags: [reap, moe, pruning, glm5_next, jetson, thor]
5
  ---
6
-
7
  # GLM-5.3-Flash REAP-50 (FP8)
8
 
9
  50% of routed experts removed with **REAP**
@@ -18,6 +17,73 @@ permissively-licensed multi-domain corpus that includes real image-text pairs.
18
  | Healed | yes |
19
  | MTP block | excluded (see below) |
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ## Why FP8 and not BF16
22
 
23
  The upstream release is **FP8**, not BF16. Routed experts are stored per-expert with their own
 
3
  base_model: zai-org/GLM-5.3-Flash
4
  tags: [reap, moe, pruning, glm5_next, jetson, thor]
5
  ---
 
6
  # GLM-5.3-Flash REAP-50 (FP8)
7
 
8
  50% of routed experts removed with **REAP**
 
17
  | Healed | yes |
18
  | MTP block | excluded (see below) |
19
 
20
+
21
+ ## Versions — which weights are which
22
+
23
+ Three selection passes have shipped. Each is a **different mask**, not a re-run of the same one,
24
+ and all keep **144 of 288 routed experts** (REAP50). What differs is *which* 144.
25
+
26
+ **Older weights are never overwritten.** The subdirectory tells you the version.
27
+
28
+ | version | method | healing | location in this repo |
29
+ |---|---|---|---|
30
+ | **v2** | refined REAP scalar mask | per-expert | **repo root** (the files beside this card) |
31
+ | **v3** | **HOPE** — interaction-aware, `protect_frac=0.04` | per-expert | subdirectory **`pass3-hope/`** |
32
+
33
+ > The repo name's `-v2` suffix is from the pass-2 release and is now just a name. Read the
34
+ > **path**, not the repo title: root = v2, `pass3-hope/` = v3.
35
+
36
+ v1 (the first published REAP mask) is superseded and not carried here.
37
+
38
+ ### What v3 changed, and why
39
+
40
+ v2 ranked each expert alone and took the top-k. [arXiv 2609.18916] shows that is exactly HOPE with
41
+ the off-diagonal of `F` zeroed — two experts that duplicate each other are cheap to drop together,
42
+ two that complement each other are not, and a per-expert ranking cannot tell the difference. v3
43
+ minimises `pᵀFp`, the output error a prune set actually causes, over the same accumulators.
44
+
45
+ v2 also ran with **no domain floor** and lost ballast capability as a result. v3 sets
46
+ `protect_frac = 0.04`, measured off this run's own accumulators at the knee of worst-domain
47
+ retention against interaction cost — not guessed, and not inherited from MiMo's 0.08, which sits
48
+ where marginal efficiency is 0.43.
49
+
50
+ v3 is calibrated on **866,678,064 routed slots** (42 layers x 10 chunks) and heals to a median gain
51
+ of 0.766 across 42 layers with none skipped.
52
+
53
+ ### Honest comparison
54
+
55
+ v1 -> v2 improved reconstruction residual by 2.5% but was **zero to within noise** end to end
56
+ (top-1 agreement 0.8370 -> 0.8369, SE 0.00075 on 241,516 held-out tokens). Per domain it was a
57
+ redistribution rather than a lift. **v3 has not yet been evaluated end to end** — when it has, the
58
+ numbers will be published here. Until then, treat v3 as "better-motivated selection, unproven
59
+ head-to-head", not as a measured improvement.
60
+
61
+ ### Two caveats that apply to v3
62
+
63
+ - **No bio coverage.** The bio domain saw **0** of 866,678,064 routed slots, because every bio
64
+ source is excluded by licence or clinical scope (`camel-ai/biology`, `tattabio/OG`, `PubMedQA`).
65
+ Selection scored the 7 live domains. This is a property of the calibration corpus, not a bug, and
66
+ no amount of recomputation changes it. **Do not rely on this model for biomedical work.**
67
+ - **Long-context assurance is at 8192 tokens**, not the intended 16384. A single 16384-token
68
+ forward needs >93 GiB — attention is quadratic and one forward is indivisible, so no amount of
69
+ blocking helps on the build host. 8192 is still 4x the 2048 tokens the mask was calibrated at.
70
+
71
+ 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)**
72
+
73
+ ### Download a specific version
74
+
75
+ ```bash
76
+ # v3 (HOPE) - 160.6 GiB, 62 shards
77
+ hf download patrickbdevaney/GLM-5.3-Flash-REAP50-FP8-v2 \
78
+ --include "pass3-hope/*" --local-dir ./glm53-reap50-fp8-v3
79
+
80
+ # v2 - repo root
81
+ hf download patrickbdevaney/GLM-5.3-Flash-REAP50-FP8-v2 \
82
+ --exclude "pass3-hope/*" --local-dir ./glm53-reap50-fp8-v2
83
+ ```
84
+
85
+ FP8 is the **master** checkpoint: NVFP4 and GGUF are both derived from it.
86
+
87
  ## Why FP8 and not BF16
88
 
89
  The upstream release is **FP8**, not BF16. Routed experts are stored per-expert with their own