suchirsalhan commited on
Commit
8a548fc
·
verified ·
1 Parent(s): ef4e438

main <- step 76300

Browse files
Files changed (3) hide show
  1. README.md +19 -0
  2. config.json +269 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: pytorch
4
+ tags: [dynamic-chunking, tokenization, hnet, byte-level, beetle-hnet, legacy-trainer]
5
+ ---
6
+
7
+ # specfull_A_s2
8
+
9
+ Byte-level H-Net run from [beetle-hnet](https://github.com/suchirsalhan/beetle-hnet), trained
10
+ with the legacy trainer (`legacy/tier1/train.py`). Split out of the bundled repo
11
+ [`AdaptiveChunking/hnet-chunking-spec-82m`](https://huggingface.co/AdaptiveChunking/hnet-chunking-spec-82m) into the Beetle per-run layout.
12
+
13
+ - **`step-N` branches**: 44 retained checkpoints (0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 500, 1000 ...),
14
+ each with `model.safetensors` and `config.json` (`model_config`, training config and the
15
+ `tied_weights` map: restore with `sd[dst] = sd[src]` for every entry).
16
+ - **`main`**: the latest weights plus `final.json` and `log.jsonl`.
17
+ - The legacy trainer kept no optimiser state, so there is no `training_state/` here. FLORES+
18
+ boundary probes for this run are in the dataset
19
+ [`AdaptiveChunking/hnet-chunking-probes`](https://huggingface.co/datasets/AdaptiveChunking/hnet-chunking-probes) under `specfull_A_s2/`.
config.json ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "specfull_A_s2",
3
+ "model_config": {
4
+ "vocab_size": 256,
5
+ "d_enc": 384,
6
+ "d_main": 768,
7
+ "n_enc": 3,
8
+ "n_dec": 3,
9
+ "n_main": 10,
10
+ "n_heads_enc": 6,
11
+ "n_heads_main": 12,
12
+ "seq_len": 1024,
13
+ "dropout": 0.0,
14
+ "target_ratio": 6.0,
15
+ "max_chunk_mult": 3.0,
16
+ "dechunk": "ema",
17
+ "router_noise": 0.0,
18
+ "rope_base": 10000.0
19
+ },
20
+ "tied_weights": {
21
+ "head.weight": "emb.weight"
22
+ },
23
+ "train_config": {
24
+ "condition": "A",
25
+ "seed": 2,
26
+ "out_dir": null,
27
+ "run_name": "specfull_A_s2",
28
+ "corpus": "corpus",
29
+ "langs": null,
30
+ "seq_len": 1024,
31
+ "batch_size": 64,
32
+ "grad_accum": 1,
33
+ "steps": 76300,
34
+ "lr": 0.0003,
35
+ "min_lr_frac": 0.1,
36
+ "warmup": 2000,
37
+ "weight_decay": 0.1,
38
+ "grad_clip": 1.0,
39
+ "betas": [
40
+ 0.9,
41
+ 0.95
42
+ ],
43
+ "router_lr_mult": 1.0,
44
+ "d_enc": 384,
45
+ "d_main": 768,
46
+ "n_enc": 3,
47
+ "n_dec": 3,
48
+ "n_main": 10,
49
+ "n_heads_enc": 6,
50
+ "n_heads_main": 12,
51
+ "dechunk": "ema",
52
+ "target_ratio": 6.0,
53
+ "alpha": 0.03,
54
+ "alpha_parity_cap": 0.06,
55
+ "global_anchor": 0.0,
56
+ "premium_clip": 4.0,
57
+ "premium_kind": "flores_per_sent",
58
+ "mixture": null,
59
+ "doc_filters": null,
60
+ "tau1": 0.4,
61
+ "tau2": 0.7,
62
+ "freeze_scope": "router",
63
+ "ckpt_every": 4000,
64
+ "eval_every": 4000,
65
+ "log_every": 500,
66
+ "probe_sents": 128,
67
+ "eval_batches": 8,
68
+ "keep_ckpt": true,
69
+ "amp": "bf16",
70
+ "compile": false,
71
+ "cpc_decay": 0.9,
72
+ "device": "cuda",
73
+ "log_spaced_probe": true,
74
+ "dense_early_every": 500,
75
+ "dense_early_until": 8000,
76
+ "probe_bpb_batches": 4,
77
+ "dump_reps": true,
78
+ "dump_reps_thresholds": [
79
+ 0.3,
80
+ 0.4,
81
+ 0.5,
82
+ 0.6,
83
+ 0.7
84
+ ],
85
+ "router_noise": 0.0,
86
+ "genreg_target_entropy": null,
87
+ "genreg_eta": 0.05
88
+ },
89
+ "checkpoints": [
90
+ {
91
+ "tag": "000000",
92
+ "step": 0
93
+ },
94
+ {
95
+ "tag": "000001",
96
+ "step": 1
97
+ },
98
+ {
99
+ "tag": "000002",
100
+ "step": 2
101
+ },
102
+ {
103
+ "tag": "000004",
104
+ "step": 4
105
+ },
106
+ {
107
+ "tag": "000008",
108
+ "step": 8
109
+ },
110
+ {
111
+ "tag": "000016",
112
+ "step": 16
113
+ },
114
+ {
115
+ "tag": "000032",
116
+ "step": 32
117
+ },
118
+ {
119
+ "tag": "000064",
120
+ "step": 64
121
+ },
122
+ {
123
+ "tag": "000128",
124
+ "step": 128
125
+ },
126
+ {
127
+ "tag": "000256",
128
+ "step": 256
129
+ },
130
+ {
131
+ "tag": "000500",
132
+ "step": 500
133
+ },
134
+ {
135
+ "tag": "001000",
136
+ "step": 1000
137
+ },
138
+ {
139
+ "tag": "001500",
140
+ "step": 1500
141
+ },
142
+ {
143
+ "tag": "002000",
144
+ "step": 2000
145
+ },
146
+ {
147
+ "tag": "002500",
148
+ "step": 2500
149
+ },
150
+ {
151
+ "tag": "003000",
152
+ "step": 3000
153
+ },
154
+ {
155
+ "tag": "003500",
156
+ "step": 3500
157
+ },
158
+ {
159
+ "tag": "004000",
160
+ "step": 4000
161
+ },
162
+ {
163
+ "tag": "004500",
164
+ "step": 4500
165
+ },
166
+ {
167
+ "tag": "005000",
168
+ "step": 5000
169
+ },
170
+ {
171
+ "tag": "005500",
172
+ "step": 5500
173
+ },
174
+ {
175
+ "tag": "006000",
176
+ "step": 6000
177
+ },
178
+ {
179
+ "tag": "006500",
180
+ "step": 6500
181
+ },
182
+ {
183
+ "tag": "007000",
184
+ "step": 7000
185
+ },
186
+ {
187
+ "tag": "007500",
188
+ "step": 7500
189
+ },
190
+ {
191
+ "tag": "008000",
192
+ "step": 8000
193
+ },
194
+ {
195
+ "tag": "012000",
196
+ "step": 12000
197
+ },
198
+ {
199
+ "tag": "016000",
200
+ "step": 16000
201
+ },
202
+ {
203
+ "tag": "020000",
204
+ "step": 20000
205
+ },
206
+ {
207
+ "tag": "024000",
208
+ "step": 24000
209
+ },
210
+ {
211
+ "tag": "028000",
212
+ "step": 28000
213
+ },
214
+ {
215
+ "tag": "032000",
216
+ "step": 32000
217
+ },
218
+ {
219
+ "tag": "036000",
220
+ "step": 36000
221
+ },
222
+ {
223
+ "tag": "040000",
224
+ "step": 40000
225
+ },
226
+ {
227
+ "tag": "044000",
228
+ "step": 44000
229
+ },
230
+ {
231
+ "tag": "048000",
232
+ "step": 48000
233
+ },
234
+ {
235
+ "tag": "052000",
236
+ "step": 52000
237
+ },
238
+ {
239
+ "tag": "056000",
240
+ "step": 56000
241
+ },
242
+ {
243
+ "tag": "060000",
244
+ "step": 60000
245
+ },
246
+ {
247
+ "tag": "064000",
248
+ "step": 64000
249
+ },
250
+ {
251
+ "tag": "068000",
252
+ "step": 68000
253
+ },
254
+ {
255
+ "tag": "072000",
256
+ "step": 72000
257
+ },
258
+ {
259
+ "tag": "076000",
260
+ "step": 76000
261
+ },
262
+ {
263
+ "tag": "076300",
264
+ "step": 76300
265
+ }
266
+ ],
267
+ "step": 76300,
268
+ "source": "AdaptiveChunking/hnet-chunking-spec-82m/specfull_A_s2/076300.safetensors"
269
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89483bea52c5c7811fa8af789b7177c4787f9a6cc9a84026aa5021e9fa124295
3
+ size 329898344