suchirsalhan commited on
Commit
6b09abd
·
verified ·
1 Parent(s): c10147a

main <- step 76300

Browse files
Files changed (3) hide show
  1. README.md +19 -0
  2. config.json +211 -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_B_s0
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**: 30 retained checkpoints (0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 4000, 8000 ...),
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_B_s0/`.
config.json ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "specfull_B_s0",
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": "B",
25
+ "seed": 0,
26
+ "out_dir": null,
27
+ "run_name": "specfull_B_s0",
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
+ "probe_bpb_batches": 4,
75
+ "dump_reps": true,
76
+ "dump_reps_thresholds": [
77
+ 0.3,
78
+ 0.4,
79
+ 0.5,
80
+ 0.6,
81
+ 0.7
82
+ ],
83
+ "router_noise": 0.0,
84
+ "genreg_target_entropy": null,
85
+ "genreg_eta": 0.05
86
+ },
87
+ "checkpoints": [
88
+ {
89
+ "tag": "000000",
90
+ "step": 0
91
+ },
92
+ {
93
+ "tag": "000001",
94
+ "step": 1
95
+ },
96
+ {
97
+ "tag": "000002",
98
+ "step": 2
99
+ },
100
+ {
101
+ "tag": "000004",
102
+ "step": 4
103
+ },
104
+ {
105
+ "tag": "000008",
106
+ "step": 8
107
+ },
108
+ {
109
+ "tag": "000016",
110
+ "step": 16
111
+ },
112
+ {
113
+ "tag": "000032",
114
+ "step": 32
115
+ },
116
+ {
117
+ "tag": "000064",
118
+ "step": 64
119
+ },
120
+ {
121
+ "tag": "000128",
122
+ "step": 128
123
+ },
124
+ {
125
+ "tag": "000256",
126
+ "step": 256
127
+ },
128
+ {
129
+ "tag": "004000",
130
+ "step": 4000
131
+ },
132
+ {
133
+ "tag": "008000",
134
+ "step": 8000
135
+ },
136
+ {
137
+ "tag": "012000",
138
+ "step": 12000
139
+ },
140
+ {
141
+ "tag": "016000",
142
+ "step": 16000
143
+ },
144
+ {
145
+ "tag": "020000",
146
+ "step": 20000
147
+ },
148
+ {
149
+ "tag": "024000",
150
+ "step": 24000
151
+ },
152
+ {
153
+ "tag": "028000",
154
+ "step": 28000
155
+ },
156
+ {
157
+ "tag": "032000",
158
+ "step": 32000
159
+ },
160
+ {
161
+ "tag": "036000",
162
+ "step": 36000
163
+ },
164
+ {
165
+ "tag": "040000",
166
+ "step": 40000
167
+ },
168
+ {
169
+ "tag": "044000",
170
+ "step": 44000
171
+ },
172
+ {
173
+ "tag": "048000",
174
+ "step": 48000
175
+ },
176
+ {
177
+ "tag": "052000",
178
+ "step": 52000
179
+ },
180
+ {
181
+ "tag": "056000",
182
+ "step": 56000
183
+ },
184
+ {
185
+ "tag": "060000",
186
+ "step": 60000
187
+ },
188
+ {
189
+ "tag": "064000",
190
+ "step": 64000
191
+ },
192
+ {
193
+ "tag": "068000",
194
+ "step": 68000
195
+ },
196
+ {
197
+ "tag": "072000",
198
+ "step": 72000
199
+ },
200
+ {
201
+ "tag": "076000",
202
+ "step": 76000
203
+ },
204
+ {
205
+ "tag": "076300",
206
+ "step": 76300
207
+ }
208
+ ],
209
+ "step": 76300,
210
+ "source": "AdaptiveChunking/hnet-chunking-spec-82m/specfull_B_s0/076300.safetensors"
211
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d38848ef0b8e3ad84b3b5e78b7538d9633bcb10534055c2e5a9551233160bd80
3
+ size 329898344