jhyuckkim commited on
Commit
5522fb9
·
verified ·
1 Parent(s): 815bf46

Align naming and results with the published arXiv version

Browse files
Files changed (1) hide show
  1. README.md +12 -12
README.md CHANGED
@@ -17,7 +17,7 @@ tags:
17
  > **Research artifact, not a general-purpose model.**
18
  > These weights are released so that the experiments in the paper *Pruning and
19
  > Distilling Mixture-of-Experts into Dense Language Models* can be reproduced.
20
- > Each student is distilled on a fixed, small token budget (3.8B tokens for
21
  > Qwen3, 0.3B tokens for DeepSeek-V2-Lite and GPT-OSS) purely so that expert
22
  > scoring and grouping methods can be compared under an equal budget. Absolute
23
  > quality is therefore far below the teacher and below pretrained models of the
@@ -35,20 +35,20 @@ https://github.com/krafton-ai/moe-to-dense
35
 
36
  ## Results
37
 
38
- Full comparison group for this architecture, DeepSeek-V2-Lite to dense, 0.3B-token distillation (paper Table 6). This model's row is in
39
  bold, and rows whose weights are also released link to them.
40
 
41
  | Configuration | Wino | Hella | ARC-E | ARC-C | MMLU | Avg |
42
  |---|---|---|---|---|---|---|
43
- | [DO-AWP, K=6](https://huggingface.co/jhyuckkim/DeepSeek-V2-Lite-Dense-3B-DO-AWP-K6) | 60.3 | 41.0 | 53.7 | 28.2 | 28.7 | 42.39 |
44
- | SF, K=12 | 56.9 | 41.1 | 54.8 | 28.4 | 24.6 | 41.16 |
45
- | DO-AWP, K=12 | 59.0 | 41.5 | 51.7 | 26.2 | 26.9 | 41.07 |
46
- | AWP, K=12 | 57.1 | 40.9 | 52.9 | 27.4 | 26.4 | 40.93 |
47
- | CP, K=12 | 55.6 | 40.2 | 53.5 | 26.6 | 26.8 | 40.53 |
48
- | [AWP, K=6](https://huggingface.co/jhyuckkim/DeepSeek-V2-Lite-Dense-3B-AWP-K6) | 56.8 | 38.6 | 51.0 | 27.5 | 28.1 | 40.37 |
49
  | [SF, K=6](https://huggingface.co/jhyuckkim/DeepSeek-V2-Lite-Dense-3B-SF-K6) | 54.9 | 38.9 | 52.4 | 27.1 | 26.9 | 40.04 |
 
50
  | **CP, K=6** | **53.0** | **36.9** | **49.4** | **25.7** | **25.3** | **38.07** |
51
- | Random MLP + teacher attention | 50.6 | 25.6 | 30.6 | 20.9 | 23.6 | 30.25 |
 
 
 
 
 
52
  | Random initialization | 50.1 | 25.4 | 28.8 | 24.1 | 22.9 | 30.27 |
53
  | Teacher (DeepSeek-V2-Lite) | 76.2 | 80.5 | 84.4 | 56.3 | 58.0 | 71.09 |
54
 
@@ -63,8 +63,8 @@ Downstream accuracy is Winogrande 5-shot, HellaSwag 10-shot, ARC-Easy 25-shot, A
63
  | Distillation data | FineWeb-Edu (`sample-10BT`), 0.3B tokens |
64
  | Expert scoring | CP |
65
  | Experts kept (K) | 6 |
66
- | Grouping | pure pruning (K equals top-k, one expert per group) |
67
- | Down-projection scaling | uniform |
68
 
69
  ## Usage
70
 
@@ -78,7 +78,7 @@ tok = AutoTokenizer.from_pretrained("jhyuckkim/DeepSeek-V2-Lite-Dense-3B-CP-K6",
78
  ```
79
 
80
  `trust_remote_code=True` is required. The student keeps DeepSeek's own model
81
- class so that MLA attention and the shared expert are preserved unchanged, and
82
  `configuration_deepseek.py` / `modeling_deepseek.py` ship with the repo.
83
 
84
  ## Citation
 
17
  > **Research artifact, not a general-purpose model.**
18
  > These weights are released so that the experiments in the paper *Pruning and
19
  > Distilling Mixture-of-Experts into Dense Language Models* can be reproduced.
20
+ > Each student is distilled on a fixed, small token budget (~4B tokens for
21
  > Qwen3, 0.3B tokens for DeepSeek-V2-Lite and GPT-OSS) purely so that expert
22
  > scoring and grouping methods can be compared under an equal budget. Absolute
23
  > quality is therefore far below the teacher and below pretrained models of the
 
35
 
36
  ## Results
37
 
38
+ Full comparison group for this architecture, DeepSeek-V2-Lite to dense, 0.3B-token distillation (paper Table 17). This model's row is in
39
  bold, and rows whose weights are also released link to them.
40
 
41
  | Configuration | Wino | Hella | ARC-E | ARC-C | MMLU | Avg |
42
  |---|---|---|---|---|---|---|
 
 
 
 
 
 
43
  | [SF, K=6](https://huggingface.co/jhyuckkim/DeepSeek-V2-Lite-Dense-3B-SF-K6) | 54.9 | 38.9 | 52.4 | 27.1 | 26.9 | 40.04 |
44
+ | SF, K=12 | 56.9 | 41.1 | 54.8 | 28.4 | 24.6 | 41.16 |
45
  | **CP, K=6** | **53.0** | **36.9** | **49.4** | **25.7** | **25.3** | **38.07** |
46
+ | CP, K=12 | 55.6 | 40.2 | 53.5 | 26.6 | 26.8 | 40.53 |
47
+ | [ACP, K=6](https://huggingface.co/jhyuckkim/DeepSeek-V2-Lite-Dense-3B-ACP-K6) | 56.8 | 38.6 | 51.0 | 27.5 | 28.1 | 40.37 |
48
+ | ACP, K=12 | 57.1 | 40.9 | 52.9 | 27.4 | 26.4 | 40.93 |
49
+ | [DO-ACP, K=6](https://huggingface.co/jhyuckkim/DeepSeek-V2-Lite-Dense-3B-DO-ACP-K6) | 60.3 | 41.0 | 53.7 | 28.2 | 28.7 | 42.39 |
50
+ | DO-ACP, K=12 | 59.0 | 41.5 | 51.7 | 26.2 | 26.9 | 41.07 |
51
+ | Random FFN + teacher attn | 50.6 | 25.6 | 30.6 | 20.9 | 23.6 | 30.25 |
52
  | Random initialization | 50.1 | 25.4 | 28.8 | 24.1 | 22.9 | 30.27 |
53
  | Teacher (DeepSeek-V2-Lite) | 76.2 | 80.5 | 84.4 | 56.3 | 58.0 | 71.09 |
54
 
 
63
  | Distillation data | FineWeb-Edu (`sample-10BT`), 0.3B tokens |
64
  | Expert scoring | CP |
65
  | Experts kept (K) | 6 |
66
+ | Grouping | pure pruning on the routed experts, 8 groups total (2 shared + 6 routed) |
67
+ | Down-projection scaling | shared experts copied unscaled, routed groups scaled by average conditional probability |
68
 
69
  ## Usage
70
 
 
78
  ```
79
 
80
  `trust_remote_code=True` is required. The student keeps DeepSeek's own model
81
+ class so that MLA attention and the shared experts are preserved unchanged, and
82
  `configuration_deepseek.py` / `modeling_deepseek.py` ship with the repo.
83
 
84
  ## Citation