Rhett1 commited on
Commit
ab7e03d
·
verified ·
1 Parent(s): 4a67df8

Upload asvd_llm/heal/llama2-7b-base/provenance.json with huggingface_hub

Browse files
asvd_llm/heal/llama2-7b-base/provenance.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "method": "KD healing: alpha*T^2*KL(teacher||student) + (1-alpha)*CE",
3
+ "student_init": "/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/asvd_base_7b/tr3fmt/state_dict_fp16.pt",
4
+ "teacher": "NousResearch/Llama-2-7b-hf",
5
+ "alpha": 1.0,
6
+ "temperature": 1.0,
7
+ "lr": 2e-05,
8
+ "tokens_seen": 59998208,
9
+ "epochs": 0.228,
10
+ "global_batch_tokens": 32768,
11
+ "dataset_mixture_pre_exclusion": {
12
+ "alpaca": 50000,
13
+ "openhermes": 200000,
14
+ "ultrachat": 100000
15
+ },
16
+ "dataset_revisions": {
17
+ "tatsu-lab/alpaca": "dce01c9b08f87459cf36a430d809084718273017",
18
+ "teknium/OpenHermes-2.5": "b82037821055c377bed0d495e72e46de3bc72e84",
19
+ "HuggingFaceH4/ultrachat_200k": "8049631c405ae6576f93f445c6b8166f76f5505a"
20
+ },
21
+ "canonical_pool_excluded_texts": 10000,
22
+ "train_texts_after_exclusion": 356000,
23
+ "chat_texts": 340000,
24
+ "mmlu_aux_texts_kept": 16000,
25
+ "mmlu_aux_split": "cais/mmlu auxiliary_train (official TRAIN split, disjoint from the evaluated test split; audit verified 0/99842 exact overlap)",
26
+ "mmlu_aux_stats": {
27
+ "requested_groups": 16000,
28
+ "rendered_groups": 16000,
29
+ "shots": 5,
30
+ "rows_total": 99842,
31
+ "rows_dropped_by_decontam": 71,
32
+ "rows_clean": 99771,
33
+ "revision": "c30699e8356da336a370243923dbaf21066bb9fe",
34
+ "format": "MMLU-shaped (NOT byte-identical to lm-eval; auxiliary_train has no subject)"
35
+ },
36
+ "gold_label_supervision": false,
37
+ "attribution_note": "alpha=1.0 => pure KD, no gold-label CE, so any MMLU change is attributable to distillation on in-domain text. alpha<1 adds CE on text containing answers = labeled MCQ training, which is a DIFFERENT and weaker claim.",
38
+ "train_tokens_total": 263112704,
39
+ "decontamination": {
40
+ "removed": {
41
+ "alpaca": 11,
42
+ "openhermes": 120,
43
+ "ultrachat": 33
44
+ }
45
+ },
46
+ "start_kl": 7.296980082988739,
47
+ "final_kl": 0.22557126358151436,
48
+ "start_mmlu": 0.23421052631578948,
49
+ "final_mmlu": 0.262719298245614,
50
+ "history": [
51
+ {
52
+ "tokens_m": 5.01,
53
+ "step": 153,
54
+ "held_out_kl": 0.3589833080768585,
55
+ "mmlu": 0.24780701754385964
56
+ },
57
+ {
58
+ "tokens_m": 10.03,
59
+ "step": 306,
60
+ "held_out_kl": 0.30126900784671307,
61
+ "mmlu": 0.2469298245614035
62
+ },
63
+ {
64
+ "tokens_m": 15.01,
65
+ "step": 458,
66
+ "held_out_kl": 0.2774391770362854,
67
+ "mmlu": 0.2535087719298246
68
+ },
69
+ {
70
+ "tokens_m": 20.02,
71
+ "step": 611,
72
+ "held_out_kl": 0.26040532626211643,
73
+ "mmlu": 0.24956140350877193
74
+ },
75
+ {
76
+ "tokens_m": 25.0,
77
+ "step": 763,
78
+ "held_out_kl": 0.24820629693567753,
79
+ "mmlu": 0.2543859649122807
80
+ },
81
+ {
82
+ "tokens_m": 30.02,
83
+ "step": 916,
84
+ "held_out_kl": 0.23963410779833794,
85
+ "mmlu": 0.25570175438596493
86
+ },
87
+ {
88
+ "tokens_m": 35.03,
89
+ "step": 1069,
90
+ "held_out_kl": 0.23328605107963085,
91
+ "mmlu": 0.2548245614035088
92
+ },
93
+ {
94
+ "tokens_m": 40.01,
95
+ "step": 1221,
96
+ "held_out_kl": 0.2291983012109995,
97
+ "mmlu": 0.25263157894736843
98
+ },
99
+ {
100
+ "tokens_m": 45.02,
101
+ "step": 1374,
102
+ "held_out_kl": 0.22688163630664349,
103
+ "mmlu": 0.25526315789473686
104
+ },
105
+ {
106
+ "tokens_m": 50.0,
107
+ "step": 1526,
108
+ "held_out_kl": 0.22644959017634392,
109
+ "mmlu": 0.2600877192982456
110
+ },
111
+ {
112
+ "tokens_m": 55.02,
113
+ "step": 1679,
114
+ "held_out_kl": 0.2259067613631487,
115
+ "mmlu": 0.2631578947368421
116
+ },
117
+ {
118
+ "tokens_m": 60.0,
119
+ "step": 1831,
120
+ "held_out_kl": 0.22557126358151436,
121
+ "mmlu": 0.262719298245614,
122
+ "final": true
123
+ }
124
+ ],
125
+ "teacher_mmlu_same_limit": 0.47412280701754383,
126
+ "checkpoint": "/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_asvd_base_7b_h1/state_dict_fp16.pt",
127
+ "sha256": "fb2bbeeb648f6bed993d66ac7999af6c751860f2d0edb2cb9f38fc9d20f9efb5",
128
+ "seed": 1234,
129
+ "mmlu_limit_per_subtask": 40,
130
+ "teacher_revision": "8efe6c9b93655b934e27bd9981e3ec13e55aee9d",
131
+ "student_init_sha256": "cc8a3ede167248b34b28fe9ecb94215f841c33cbcd8336b311cfae4e46852f00",
132
+ "ranks_file": "/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/asvd_base_7b/tr3fmt/ranks.json",
133
+ "ranks_sha256": "5836ebdb4a54ccfd0e40c2d7b5abf5f828efbd508f7efb28b27e89aee06e69e4",
134
+ "input_identity_gate": {
135
+ "student_ckpt": {
136
+ "key": "tr3fmt",
137
+ "sha256": "cc8a3ede167248b34b28fe9ecb94215f841c33cbcd8336b311cfae4e46852f00",
138
+ "status": "unregistered_allowed"
139
+ },
140
+ "ranks": {
141
+ "key": "tr3fmt",
142
+ "sha256": "5836ebdb4a54ccfd0e40c2d7b5abf5f828efbd508f7efb28b27e89aee06e69e4",
143
+ "status": "unregistered_allowed"
144
+ }
145
+ },
146
+ "train_seed": 1234,
147
+ "mmlu_seed": 1234,
148
+ "dynamic_batch": false,
149
+ "dbl": null,
150
+ "snapshot_milestones": true,
151
+ "snapshots": [
152
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_asvd_base_7b_h1_snap15m'), 15.007744)",
153
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_asvd_base_7b_h1_snap30m'), 30.015488)",
154
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_asvd_base_7b_h1_snap45m'), 45.023232)",
155
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_asvd_base_7b_h1_snap50m'), 50.003968)",
156
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_asvd_base_7b_h1_snap55m'), 55.017472)"
157
+ ],
158
+ "stream_skip_tokens_m": 0.0,
159
+ "stream_blocks_consumed": [
160
+ 0,
161
+ 58592
162
+ ],
163
+ "stream_note": "the block order is a seeded permutation consumed from index 0; stages sharing a --seed with stream_skip=0 re-train on the SAME blocks. [start, end] block indices are recorded so any continuation can be checked for overlap with what earlier stages consumed.",
164
+ "student_master_dtype": "bf16",
165
+ "eval_dtype": "bf16",
166
+ "fake_quant": null,
167
+ "rebalance_report": null,
168
+ "student_param_count": 4020677888,
169
+ "micro": 16,
170
+ "grad_accum": 2,
171
+ "seq_len": 1024,
172
+ "held_out_source": "canonical: mixture 2000/4000/4000, seed 1234, seq 1024, blocks 256:264 (identical to the compression gates)",
173
+ "decontam_stats": {
174
+ "mmlu": {
175
+ "items": 14042,
176
+ "new_ngrams": 764261,
177
+ "revision": "c30699e8356da336a370243923dbaf21066bb9fe"
178
+ },
179
+ "hellaswag": {
180
+ "items": 10042,
181
+ "new_ngrams": 1334302,
182
+ "revision": "218ec52e09a7e7462a5400043bb9a69a41d06b76"
183
+ },
184
+ "boolq": {
185
+ "items": 3270,
186
+ "new_ngrams": 276806,
187
+ "revision": "3de24cf8022e94f4ee4b9d55a6f539891524d646"
188
+ },
189
+ "triviaqa": {
190
+ "items": 17944,
191
+ "new_ngrams": 32608,
192
+ "revision": "0f7faf33a3908546c6fd5b73a660e0f8ff173c2f"
193
+ },
194
+ "gsm8k": {
195
+ "items": 1319,
196
+ "new_ngrams": 46281,
197
+ "revision": "740312add88f781978c0658806c59bc2815b9866"
198
+ }
199
+ }
200
+ }