codebyzeb commited on
Commit
3aa05ec
·
verified ·
1 Parent(s): 1a4ac26

Upload folder using huggingface_hub

Browse files
llm/fw57M-tied/README.md CHANGED
@@ -1,90 +1,199 @@
1
  ---
2
- {}
 
3
  ---
4
- ## Experiment Configuration
5
- ```yaml
6
- callbacks:
7
- grad_accum:
8
- _target_: src.callbacks.gradient_accumulation.GradientAccumulationScheduler
9
- scheduling:
10
- 0: 4
11
- grad_norm:
12
- _target_: src.callbacks.grad_norm.GradNorm
13
- check_clipping: false
14
- group_separator: /
15
- histogram_freq: null
16
- log_weight_distribution: false
17
- norm_type: 2
18
- only_total: true
19
- lr_monitor:
20
- _target_: src.callbacks.lr_monitor.SimpleLearningRateMonitor
21
- model_checkpoint:
22
- _target_: src.callbacks.model_checkpoint.ModelCheckpoint
23
- dirpath: .checkpoints
24
- enable_version_counter: false
25
- every_n_train_steps: 2000
26
- filename: '{step}'
27
- save_initial_checkpoint: true
28
- save_last: link
29
- save_top_k: -1
30
- verbose: true
31
- speed_monitor:
32
- _target_: src.callbacks.speed_monitor.SpeedMonitor
33
- data:
34
- batch_size: 32
35
- drop_last: false
36
- eval_batch_size: 128
37
- multiprocessing_context: null
38
- num_workers: 12
39
- persistent_workers: false
40
- pin_memory: true
41
- prefetch_factor: 2
42
- shuffle: true
43
- dataset: finewebedu-20B
44
- loggers:
45
- tensorboard:
46
- _target_: src.trainer.TensorBoardLogger
47
- name: ''
48
- save_dir: ./
49
- version: null
50
- model: fw57M-tied
51
- optim:
52
- lr: 0.0006
53
- num_warmup_steps: 2000
54
- optim_kwargs:
55
- betas:
56
- - 0.9
57
- - 0.95
58
- eps: 1.0e-08
59
- fused: true
60
- optim_name: adamw
61
- scheduler_kwargs:
62
- min_lr_ratio: 0.01
63
- num_decay_steps: 4000
64
- num_stable_steps: 44000
65
- scheduler_name: warmup_stable_decay
66
- weight_decay: 0.01
67
- out_parent_folder: model_train
68
- pwd: /home/zg258/projects/infotokenization
69
- resume_from_checkpoint: .checkpoints/last.ckpt
70
- run_folder: .
71
- save_initial_checkpoint: true
72
- seed: 42
73
- tok_name: bytelevel
74
- torch_compile: true
75
- train_data_path: /home/zg258/projects/infotokenization/data/finewebedu-20B/bytelevel-subset/train
76
- trainer:
77
- accelerator: gpu
78
- deterministic: false
79
- devices: 1
80
- enable_progress_bar: true
81
- fast_dev_run: false
82
- gradient_clip_algorithm: norm
83
- gradient_clip_val: 1.0
84
- limit_val_batches: 500
85
- log_every_n_steps: 1
86
- max_steps: 50000
87
- precision: bf16-true
88
- val_check_interval: 2000
89
- val_data_path: /home/zg258/projects/infotokenization/data/finewebedu-20B/bytelevel-subset/validation
90
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: transformers
3
+ tags: []
4
  ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
llm/fw57M-tied/config.json CHANGED
@@ -24,7 +24,7 @@
24
  "rope_theta": 10000.0,
25
  "tie_word_embeddings": true,
26
  "torch_dtype": "bfloat16",
27
- "transformers_version": "4.51.1",
28
  "use_cache": true,
29
  "vocab_size": 258
30
  }
 
24
  "rope_theta": 10000.0,
25
  "tie_word_embeddings": true,
26
  "torch_dtype": "bfloat16",
27
+ "transformers_version": "4.51.3",
28
  "use_cache": true,
29
  "vocab_size": 258
30
  }
llm/fw57M-tied/generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "eos_token_id": 1,
4
  "pad_token_id": 0,
5
- "transformers_version": "4.51.1"
6
  }
 
2
  "_from_model_config": true,
3
  "eos_token_id": 1,
4
  "pad_token_id": 0,
5
+ "transformers_version": "4.51.3"
6
  }
llm/fw57M-tied/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e1c5989b2eb341dde8e68fbf142f4f53a66c40876344c9e2571331e98edb1bc3
3
  size 113668624
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d99226ff065f689160c7efdf1eba47d587bf695c00ee58296f53f223a22b32a
3
  size 113668624
llm/fw57M-tied/special_tokens_map.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "pad_token": {
10
+ "content": "<|padding|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ }
16
+ }
llm/fw57M-tied/tokenizer.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 0,
8
+ "content": "<|padding|>",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": false,
13
+ "special": true
14
+ },
15
+ {
16
+ "id": 1,
17
+ "content": "<|endoftext|>",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ }
24
+ ],
25
+ "normalizer": null,
26
+ "pre_tokenizer": {
27
+ "type": "ByteLevel",
28
+ "add_prefix_space": true,
29
+ "trim_offsets": true,
30
+ "use_regex": true
31
+ },
32
+ "post_processor": {
33
+ "type": "ByteLevel",
34
+ "add_prefix_space": true,
35
+ "trim_offsets": true,
36
+ "use_regex": true
37
+ },
38
+ "decoder": {
39
+ "type": "ByteLevel",
40
+ "add_prefix_space": true,
41
+ "trim_offsets": true,
42
+ "use_regex": true
43
+ },
44
+ "model": {
45
+ "type": "BPE",
46
+ "dropout": null,
47
+ "unk_token": null,
48
+ "continuing_subword_prefix": null,
49
+ "end_of_word_suffix": null,
50
+ "fuse_unk": false,
51
+ "byte_fallback": false,
52
+ "ignore_merges": false,
53
+ "vocab": {
54
+ "<|padding|>": 0,
55
+ "<|endoftext|>": 1,
56
+ "!": 2,
57
+ "\"": 3,
58
+ "#": 4,
59
+ "$": 5,
60
+ "%": 6,
61
+ "&": 7,
62
+ "'": 8,
63
+ "(": 9,
64
+ ")": 10,
65
+ "*": 11,
66
+ "+": 12,
67
+ ",": 13,
68
+ "-": 14,
69
+ ".": 15,
70
+ "/": 16,
71
+ "0": 17,
72
+ "1": 18,
73
+ "2": 19,
74
+ "3": 20,
75
+ "4": 21,
76
+ "5": 22,
77
+ "6": 23,
78
+ "7": 24,
79
+ "8": 25,
80
+ "9": 26,
81
+ ":": 27,
82
+ ";": 28,
83
+ "<": 29,
84
+ "=": 30,
85
+ ">": 31,
86
+ "?": 32,
87
+ "@": 33,
88
+ "A": 34,
89
+ "B": 35,
90
+ "C": 36,
91
+ "D": 37,
92
+ "E": 38,
93
+ "F": 39,
94
+ "G": 40,
95
+ "H": 41,
96
+ "I": 42,
97
+ "J": 43,
98
+ "K": 44,
99
+ "L": 45,
100
+ "M": 46,
101
+ "N": 47,
102
+ "O": 48,
103
+ "P": 49,
104
+ "Q": 50,
105
+ "R": 51,
106
+ "S": 52,
107
+ "T": 53,
108
+ "U": 54,
109
+ "V": 55,
110
+ "W": 56,
111
+ "X": 57,
112
+ "Y": 58,
113
+ "Z": 59,
114
+ "[": 60,
115
+ "\\": 61,
116
+ "]": 62,
117
+ "^": 63,
118
+ "_": 64,
119
+ "`": 65,
120
+ "a": 66,
121
+ "b": 67,
122
+ "c": 68,
123
+ "d": 69,
124
+ "e": 70,
125
+ "f": 71,
126
+ "g": 72,
127
+ "h": 73,
128
+ "i": 74,
129
+ "j": 75,
130
+ "k": 76,
131
+ "l": 77,
132
+ "m": 78,
133
+ "n": 79,
134
+ "o": 80,
135
+ "p": 81,
136
+ "q": 82,
137
+ "r": 83,
138
+ "s": 84,
139
+ "t": 85,
140
+ "u": 86,
141
+ "v": 87,
142
+ "w": 88,
143
+ "x": 89,
144
+ "y": 90,
145
+ "z": 91,
146
+ "{": 92,
147
+ "|": 93,
148
+ "}": 94,
149
+ "~": 95,
150
+ "¡": 96,
151
+ "¢": 97,
152
+ "£": 98,
153
+ "¤": 99,
154
+ "¥": 100,
155
+ "¦": 101,
156
+ "§": 102,
157
+ "¨": 103,
158
+ "©": 104,
159
+ "ª": 105,
160
+ "«": 106,
161
+ "¬": 107,
162
+ "®": 108,
163
+ "¯": 109,
164
+ "°": 110,
165
+ "±": 111,
166
+ "²": 112,
167
+ "³": 113,
168
+ "´": 114,
169
+ "µ": 115,
170
+ "¶": 116,
171
+ "·": 117,
172
+ "¸": 118,
173
+ "¹": 119,
174
+ "º": 120,
175
+ "»": 121,
176
+ "¼": 122,
177
+ "½": 123,
178
+ "¾": 124,
179
+ "¿": 125,
180
+ "À": 126,
181
+ "Á": 127,
182
+ "Â": 128,
183
+ "Ã": 129,
184
+ "Ä": 130,
185
+ "Å": 131,
186
+ "Æ": 132,
187
+ "Ç": 133,
188
+ "È": 134,
189
+ "É": 135,
190
+ "Ê": 136,
191
+ "Ë": 137,
192
+ "Ì": 138,
193
+ "Í": 139,
194
+ "Î": 140,
195
+ "Ï": 141,
196
+ "Ð": 142,
197
+ "Ñ": 143,
198
+ "Ò": 144,
199
+ "Ó": 145,
200
+ "Ô": 146,
201
+ "Õ": 147,
202
+ "Ö": 148,
203
+ "×": 149,
204
+ "Ø": 150,
205
+ "Ù": 151,
206
+ "Ú": 152,
207
+ "Û": 153,
208
+ "Ü": 154,
209
+ "Ý": 155,
210
+ "Þ": 156,
211
+ "ß": 157,
212
+ "à": 158,
213
+ "á": 159,
214
+ "â": 160,
215
+ "ã": 161,
216
+ "ä": 162,
217
+ "å": 163,
218
+ "æ": 164,
219
+ "ç": 165,
220
+ "è": 166,
221
+ "é": 167,
222
+ "ê": 168,
223
+ "ë": 169,
224
+ "ì": 170,
225
+ "í": 171,
226
+ "î": 172,
227
+ "ï": 173,
228
+ "ð": 174,
229
+ "ñ": 175,
230
+ "ò": 176,
231
+ "ó": 177,
232
+ "ô": 178,
233
+ "õ": 179,
234
+ "ö": 180,
235
+ "÷": 181,
236
+ "ø": 182,
237
+ "ù": 183,
238
+ "ú": 184,
239
+ "û": 185,
240
+ "ü": 186,
241
+ "ý": 187,
242
+ "þ": 188,
243
+ "ÿ": 189,
244
+ "Ā": 190,
245
+ "ā": 191,
246
+ "Ă": 192,
247
+ "ă": 193,
248
+ "Ą": 194,
249
+ "ą": 195,
250
+ "Ć": 196,
251
+ "ć": 197,
252
+ "Ĉ": 198,
253
+ "ĉ": 199,
254
+ "Ċ": 200,
255
+ "ċ": 201,
256
+ "Č": 202,
257
+ "č": 203,
258
+ "Ď": 204,
259
+ "ď": 205,
260
+ "Đ": 206,
261
+ "đ": 207,
262
+ "Ē": 208,
263
+ "ē": 209,
264
+ "Ĕ": 210,
265
+ "ĕ": 211,
266
+ "Ė": 212,
267
+ "ė": 213,
268
+ "Ę": 214,
269
+ "ę": 215,
270
+ "Ě": 216,
271
+ "ě": 217,
272
+ "Ĝ": 218,
273
+ "ĝ": 219,
274
+ "Ğ": 220,
275
+ "ğ": 221,
276
+ "Ġ": 222,
277
+ "ġ": 223,
278
+ "Ģ": 224,
279
+ "ģ": 225,
280
+ "Ĥ": 226,
281
+ "ĥ": 227,
282
+ "Ħ": 228,
283
+ "��": 229,
284
+ "Ĩ": 230,
285
+ "ĩ": 231,
286
+ "Ī": 232,
287
+ "ī": 233,
288
+ "Ĭ": 234,
289
+ "ĭ": 235,
290
+ "Į": 236,
291
+ "į": 237,
292
+ "İ": 238,
293
+ "ı": 239,
294
+ "IJ": 240,
295
+ "ij": 241,
296
+ "Ĵ": 242,
297
+ "ĵ": 243,
298
+ "Ķ": 244,
299
+ "ķ": 245,
300
+ "ĸ": 246,
301
+ "Ĺ": 247,
302
+ "ĺ": 248,
303
+ "Ļ": 249,
304
+ "ļ": 250,
305
+ "Ľ": 251,
306
+ "ľ": 252,
307
+ "Ŀ": 253,
308
+ "ŀ": 254,
309
+ "Ł": 255,
310
+ "ł": 256,
311
+ "Ń": 257
312
+ },
313
+ "merges": []
314
+ }
315
+ }
llm/fw57M-tied/tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|padding|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": null,
22
+ "clean_up_tokenization_spaces": false,
23
+ "eos_token": "<|endoftext|>",
24
+ "extra_special_tokens": {},
25
+ "model_max_length": 1000000000000000019884624838656,
26
+ "pad_token": "<|padding|>",
27
+ "tokenizer_class": "PreTrainedTokenizer",
28
+ "unk_token": null
29
+ }