Rhett1 commited on
Commit
f46b21c
·
verified ·
1 Parent(s): 0fbf03e

Upload svd_llm/heal/llama2-13b-base/provenance.json with huggingface_hub

Browse files
svd_llm/heal/llama2-13b-base/provenance.json ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "method": "KD healing: alpha*T^2*KL(teacher||student) + (1-alpha)*CE",
3
+ "student_init": "/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/svdllm1_base_13b/tr3fmt/state_dict_fp16.pt",
4
+ "teacher": "NousResearch/Llama-2-13b-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": 1.6616289168596268,
47
+ "final_kl": 0.19117177929729223,
48
+ "start_mmlu": 0.2574561403508772,
49
+ "final_mmlu": 0.43333333333333335,
50
+ "history": [
51
+ {
52
+ "tokens_m": 5.01,
53
+ "step": 153,
54
+ "held_out_kl": 0.4570828378200531,
55
+ "mmlu": 0.37105263157894736
56
+ },
57
+ {
58
+ "tokens_m": 10.03,
59
+ "step": 306,
60
+ "held_out_kl": 0.39639149978756905,
61
+ "mmlu": 0.3973684210526316
62
+ },
63
+ {
64
+ "tokens_m": 15.01,
65
+ "step": 458,
66
+ "held_out_kl": 0.3739243634045124,
67
+ "mmlu": 0.4
68
+ },
69
+ {
70
+ "tokens_m": 20.02,
71
+ "step": 611,
72
+ "held_out_kl": 0.3440779075026512,
73
+ "mmlu": 0.38903508771929823
74
+ },
75
+ {
76
+ "tokens_m": 25.0,
77
+ "step": 763,
78
+ "held_out_kl": 0.33168373070657253,
79
+ "mmlu": 0.4043859649122807
80
+ },
81
+ {
82
+ "tokens_m": 30.02,
83
+ "step": 916,
84
+ "held_out_kl": 0.28602365776896477,
85
+ "mmlu": 0.40921052631578947
86
+ },
87
+ {
88
+ "tokens_m": 35.03,
89
+ "step": 1069,
90
+ "held_out_kl": 0.2575125452131033,
91
+ "mmlu": 0.4118421052631579
92
+ },
93
+ {
94
+ "tokens_m": 40.01,
95
+ "step": 1221,
96
+ "held_out_kl": 0.23124912194907665,
97
+ "mmlu": 0.4307017543859649
98
+ },
99
+ {
100
+ "tokens_m": 45.02,
101
+ "step": 1374,
102
+ "held_out_kl": 0.21070933435112238,
103
+ "mmlu": 0.43991228070175437
104
+ },
105
+ {
106
+ "tokens_m": 50.0,
107
+ "step": 1526,
108
+ "held_out_kl": 0.20029953494668007,
109
+ "mmlu": 0.4412280701754386
110
+ },
111
+ {
112
+ "tokens_m": 55.02,
113
+ "step": 1679,
114
+ "held_out_kl": 0.19521544314920902,
115
+ "mmlu": 0.43508771929824563
116
+ },
117
+ {
118
+ "tokens_m": 60.0,
119
+ "step": 1831,
120
+ "held_out_kl": 0.19117177929729223,
121
+ "mmlu": 0.43333333333333335,
122
+ "final": true
123
+ }
124
+ ],
125
+ "teacher_mmlu_same_limit": 0.5425438596491228,
126
+ "checkpoint": "/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_svdllm1_base_13b_h1/state_dict_fp16.pt",
127
+ "sha256": "1543670e3bc39f0656c4522aa70315ebbc5caadb0bf4ab04577da853cb04e97f",
128
+ "seed": 1234,
129
+ "mmlu_limit_per_subtask": 40,
130
+ "teacher_revision": "4b54e9fdd2ebd8db0901d37b98d3a53bbfaa4503",
131
+ "student_init_sha256": "bcf2f34e1c7ba25c796057ee555bb3863d65e88f8f75fef35ca4477583901efc",
132
+ "ranks_file": "/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/svdllm1_base_13b/tr3fmt/ranks.json",
133
+ "ranks_sha256": "5c9ed0db91c9c81c51e62e6f82c7c2772478cc353c6f28040164843e64219b55",
134
+ "input_identity_gate": {
135
+ "student_ckpt": {
136
+ "key": "tr3fmt",
137
+ "sha256": "bcf2f34e1c7ba25c796057ee555bb3863d65e88f8f75fef35ca4477583901efc",
138
+ "status": "unregistered_allowed"
139
+ },
140
+ "ranks": {
141
+ "key": "tr3fmt",
142
+ "sha256": "5c9ed0db91c9c81c51e62e6f82c7c2772478cc353c6f28040164843e64219b55",
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_svdllm1_base_13b_h1_snap15m'), 15.007744)",
153
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_svdllm1_base_13b_h1_snap30m'), 30.015488)",
154
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_svdllm1_base_13b_h1_snap45m'), 45.023232)",
155
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_svdllm1_base_13b_h1_snap50m'), 50.003968)",
156
+ "(PosixPath('/data1/rkp00022/zixuan/projects/TR3_main/checkpoints/kdheal_svdllm1_base_13b_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
+ "fake_quant": null,
166
+ "rebalance_report": null,
167
+ "student_param_count": 7737799680,
168
+ "micro": 8,
169
+ "grad_accum": 4,
170
+ "seq_len": 1024,
171
+ "held_out_source": "canonical: mixture 2000/4000/4000, seed 1234, seq 1024, blocks 256:264 (identical to the compression gates)",
172
+ "decontam_stats": {
173
+ "mmlu": {
174
+ "items": 14042,
175
+ "new_ngrams": 764261,
176
+ "revision": "c30699e8356da336a370243923dbaf21066bb9fe"
177
+ },
178
+ "hellaswag": {
179
+ "items": 10042,
180
+ "new_ngrams": 1334302,
181
+ "revision": "218ec52e09a7e7462a5400043bb9a69a41d06b76"
182
+ },
183
+ "boolq": {
184
+ "items": 3270,
185
+ "new_ngrams": 276806,
186
+ "revision": "3de24cf8022e94f4ee4b9d55a6f539891524d646"
187
+ },
188
+ "triviaqa": {
189
+ "items": 17944,
190
+ "new_ngrams": 32608,
191
+ "revision": "0f7faf33a3908546c6fd5b73a660e0f8ff173c2f"
192
+ },
193
+ "gsm8k": {
194
+ "items": 1319,
195
+ "new_ngrams": 46281,
196
+ "revision": "740312add88f781978c0658806c59bc2815b9866"
197
+ }
198
+ }
199
+ }