ziansu commited on
Commit
dc678fa
·
verified ·
1 Parent(s): 1b68c79

Training in progress, step 500, checkpoint

Browse files
checkpoint-500/config.json ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "K": 4096,
3
+ "architectures": [
4
+ "MomentumDualEncoderModel"
5
+ ],
6
+ "assembly_config": {
7
+ "_name_or_path": "",
8
+ "add_cross_attention": false,
9
+ "architectures": [
10
+ "LongelmForMaskedLMWithEdgePrediction"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "block_size": 8,
16
+ "bos_token_id": 1,
17
+ "chunk_size_feed_forward": 0,
18
+ "classifier_dropout": null,
19
+ "cross_attention_hidden_size": null,
20
+ "decoder_start_token_id": null,
21
+ "diversity_penalty": 0.0,
22
+ "do_sample": false,
23
+ "early_stopping": false,
24
+ "encoder_no_repeat_ngram_size": 0,
25
+ "eos_token_id": 2,
26
+ "ep_add_linear_projection": true,
27
+ "exponential_decay_length_penalty": null,
28
+ "finetuning_task": null,
29
+ "forced_bos_token_id": null,
30
+ "forced_eos_token_id": null,
31
+ "global_memory_size": 1,
32
+ "hidden_act": "gelu",
33
+ "hidden_dropout_prob": 0.1,
34
+ "hidden_size": 768,
35
+ "id2label": {
36
+ "0": "LABEL_0",
37
+ "1": "LABEL_1"
38
+ },
39
+ "initializer_range": 0.02,
40
+ "intermediate_size": 3072,
41
+ "is_decoder": false,
42
+ "is_encoder_decoder": false,
43
+ "label2id": {
44
+ "LABEL_0": 0,
45
+ "LABEL_1": 1
46
+ },
47
+ "layer_norm_eps": 1e-12,
48
+ "length_penalty": 1.0,
49
+ "max_blocks": 200,
50
+ "max_length": 20,
51
+ "max_position_embeddings": 1805,
52
+ "max_relative_position_embeddings": 8,
53
+ "min_length": 0,
54
+ "model_type": "longelm",
55
+ "no_repeat_ngram_size": 0,
56
+ "node_size": 1,
57
+ "num_attention_heads": 12,
58
+ "num_beam_groups": 1,
59
+ "num_beams": 1,
60
+ "num_hidden_layers": 12,
61
+ "num_return_sequences": 1,
62
+ "output_attentions": false,
63
+ "output_hidden_states": false,
64
+ "output_scores": false,
65
+ "pad_token_id": 3,
66
+ "position_embedding_type": "mixed",
67
+ "prefix": null,
68
+ "problem_type": null,
69
+ "pruned_heads": {},
70
+ "remove_invalid_values": false,
71
+ "repetition_penalty": 1.0,
72
+ "return_dict": true,
73
+ "return_dict_in_generate": false,
74
+ "sep_token_id": null,
75
+ "suppress_tokens": null,
76
+ "task_specific_params": null,
77
+ "temperature": 1.0,
78
+ "tf_legacy_loss": false,
79
+ "tie_encoder_decoder": false,
80
+ "tie_word_embeddings": true,
81
+ "tokenizer_class": null,
82
+ "top_k": 50,
83
+ "top_p": 1.0,
84
+ "torch_dtype": "float32",
85
+ "torchscript": false,
86
+ "type_vocab_size": 2,
87
+ "typical_p": 1.0,
88
+ "use_bfloat16": false,
89
+ "use_cache": true,
90
+ "vocab_size": 50265
91
+ },
92
+ "logit_scale_init_value": 2.6592,
93
+ "m": 0.999,
94
+ "model_type": "assembly-source-dual-encoder",
95
+ "projection_dim": 512,
96
+ "source_config": {
97
+ "_name_or_path": "Salesforce/codet5p-110m-embedding",
98
+ "add_cross_attention": false,
99
+ "architectures": [
100
+ "CodeT5p_Embedding"
101
+ ],
102
+ "auto_map": {
103
+ "AutoConfig": "Salesforce/codet5p-110m-embedding--configuration_codet5p_embedding.CodeT5pEmbeddingConfig",
104
+ "AutoModel": "Salesforce/codet5p-110m-embedding--modeling_codet5p_embedding.CodeT5pEmbeddingModel"
105
+ },
106
+ "bad_words_ids": null,
107
+ "begin_suppress_tokens": null,
108
+ "bos_token_id": 1,
109
+ "chunk_size_feed_forward": 0,
110
+ "cross_attention_hidden_size": null,
111
+ "d_ff": 3072,
112
+ "d_kv": 64,
113
+ "d_model": 768,
114
+ "decoder_start_token_id": 0,
115
+ "dense_act_fn": "relu",
116
+ "diversity_penalty": 0.0,
117
+ "do_sample": false,
118
+ "dropout_rate": 0.1,
119
+ "early_stopping": false,
120
+ "embed_dim": 256,
121
+ "encoder_no_repeat_ngram_size": 0,
122
+ "eos_token_id": 2,
123
+ "exponential_decay_length_penalty": null,
124
+ "feed_forward_proj": "relu",
125
+ "finetuning_task": null,
126
+ "forced_bos_token_id": null,
127
+ "forced_eos_token_id": null,
128
+ "gradient_checkpointing": false,
129
+ "id2label": {
130
+ "0": "LABEL_0"
131
+ },
132
+ "initializer_factor": 1.0,
133
+ "is_decoder": false,
134
+ "is_encoder_decoder": true,
135
+ "is_gated_act": false,
136
+ "label2id": {
137
+ "LABEL_0": 0
138
+ },
139
+ "layer_norm_epsilon": 1e-06,
140
+ "length_penalty": 1.0,
141
+ "max_length": 20,
142
+ "min_length": 0,
143
+ "model_type": "codet5p_embedding",
144
+ "n_positions": 512,
145
+ "no_repeat_ngram_size": 0,
146
+ "num_beam_groups": 1,
147
+ "num_beams": 1,
148
+ "num_heads": 12,
149
+ "num_layers": 12,
150
+ "num_return_sequences": 1,
151
+ "output_attentions": false,
152
+ "output_hidden_states": false,
153
+ "output_past": true,
154
+ "output_scores": false,
155
+ "pad_token_id": 0,
156
+ "prefix": null,
157
+ "problem_type": null,
158
+ "pruned_heads": {},
159
+ "relative_attention_max_distance": 128,
160
+ "relative_attention_num_buckets": 32,
161
+ "remove_invalid_values": false,
162
+ "repetition_penalty": 1.0,
163
+ "return_dict": true,
164
+ "return_dict_in_generate": false,
165
+ "sep_token_id": null,
166
+ "suppress_tokens": null,
167
+ "task_specific_params": null,
168
+ "temperature": 1.0,
169
+ "tf_legacy_loss": false,
170
+ "tie_encoder_decoder": false,
171
+ "tie_word_embeddings": true,
172
+ "tokenizer_class": null,
173
+ "top_k": 50,
174
+ "top_p": 1.0,
175
+ "torch_dtype": "float32",
176
+ "torchscript": false,
177
+ "typical_p": 1.0,
178
+ "use_bfloat16": false,
179
+ "use_cache": false,
180
+ "vocab_size": 32103
181
+ },
182
+ "torch_dtype": "float32",
183
+ "transformers_version": "4.39.3"
184
+ }
checkpoint-500/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f54a28a63a304a0d289cd710ff04dc8ffa4f07875960a984748130ea72a415d8
3
+ size 1901991436
checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d941ef29656a61e809bb2f1c5e553c84249d926277471bee40250ac7e5acd1e
3
+ size 1888540293
checkpoint-500/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2550b0c0418fcb0451b08bbc745eaae4a2e5be3f00caf7efb9f01b99d9600cd2
3
+ size 15607
checkpoint-500/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3890e26cec6d5d419681617d2e80eafac5f45fe5792c537f7a2ad794add845b
3
+ size 15607
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ac7b1e85d8b401c9451934d83baf0ea4ca610c19407d141306688eff409533d
3
+ size 627
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.01984126984126984,
5
+ "eval_steps": 500,
6
+ "global_step": 500,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.0,
13
+ "grad_norm": 23.495065689086914,
14
+ "learning_rate": 4.0000000000000003e-07,
15
+ "loss": 8.6232,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.0,
20
+ "grad_norm": 24.87381935119629,
21
+ "learning_rate": 9e-07,
22
+ "loss": 8.4514,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.0,
27
+ "grad_norm": 22.63846778869629,
28
+ "learning_rate": 1.4000000000000001e-06,
29
+ "loss": 8.3152,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.0,
34
+ "grad_norm": 20.65507698059082,
35
+ "learning_rate": 1.9e-06,
36
+ "loss": 7.9732,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.0,
41
+ "grad_norm": 16.147356033325195,
42
+ "learning_rate": 2.4000000000000003e-06,
43
+ "loss": 7.6879,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.0,
48
+ "grad_norm": 14.252687454223633,
49
+ "learning_rate": 2.9e-06,
50
+ "loss": 7.4152,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.0,
55
+ "grad_norm": 12.011382102966309,
56
+ "learning_rate": 3.4000000000000005e-06,
57
+ "loss": 7.2472,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.0,
62
+ "grad_norm": 10.081536293029785,
63
+ "learning_rate": 3.9e-06,
64
+ "loss": 7.2433,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.0,
69
+ "grad_norm": 9.65556526184082,
70
+ "learning_rate": 4.4e-06,
71
+ "loss": 7.2298,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.0,
76
+ "grad_norm": 8.830799102783203,
77
+ "learning_rate": 4.9000000000000005e-06,
78
+ "loss": 7.19,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.0,
83
+ "grad_norm": 9.019427299499512,
84
+ "learning_rate": 5.4e-06,
85
+ "loss": 7.2362,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.0,
90
+ "grad_norm": 9.13768482208252,
91
+ "learning_rate": 5.9e-06,
92
+ "loss": 7.2804,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.01,
97
+ "grad_norm": 9.02840805053711,
98
+ "learning_rate": 6.4000000000000006e-06,
99
+ "loss": 7.2345,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.01,
104
+ "grad_norm": 8.178731918334961,
105
+ "learning_rate": 6.900000000000001e-06,
106
+ "loss": 7.3014,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.01,
111
+ "grad_norm": 8.83882999420166,
112
+ "learning_rate": 7.4e-06,
113
+ "loss": 7.3875,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.01,
118
+ "grad_norm": 8.3687162399292,
119
+ "learning_rate": 7.9e-06,
120
+ "loss": 7.4546,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.01,
125
+ "grad_norm": 8.09121036529541,
126
+ "learning_rate": 8.400000000000001e-06,
127
+ "loss": 7.407,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 0.01,
132
+ "grad_norm": 12.731450080871582,
133
+ "learning_rate": 8.9e-06,
134
+ "loss": 7.4321,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.01,
139
+ "grad_norm": 7.601162910461426,
140
+ "learning_rate": 9.4e-06,
141
+ "loss": 7.4155,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 0.01,
146
+ "grad_norm": 8.006213188171387,
147
+ "learning_rate": 9.900000000000002e-06,
148
+ "loss": 7.3705,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 0.01,
153
+ "grad_norm": 7.79794454574585,
154
+ "learning_rate": 1.04e-05,
155
+ "loss": 7.3759,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 0.01,
160
+ "grad_norm": 7.281346321105957,
161
+ "learning_rate": 1.09e-05,
162
+ "loss": 7.3798,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 0.01,
167
+ "grad_norm": 7.605266094207764,
168
+ "learning_rate": 1.1400000000000001e-05,
169
+ "loss": 7.3878,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 0.01,
174
+ "grad_norm": 7.446412563323975,
175
+ "learning_rate": 1.19e-05,
176
+ "loss": 7.3098,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 0.01,
181
+ "grad_norm": 7.6324334144592285,
182
+ "learning_rate": 1.24e-05,
183
+ "loss": 7.2995,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 0.01,
188
+ "grad_norm": 8.330737113952637,
189
+ "learning_rate": 1.29e-05,
190
+ "loss": 7.1887,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 0.01,
195
+ "grad_norm": 7.283708572387695,
196
+ "learning_rate": 1.3400000000000002e-05,
197
+ "loss": 7.1184,
198
+ "step": 270
199
+ },
200
+ {
201
+ "epoch": 0.01,
202
+ "grad_norm": 6.950069904327393,
203
+ "learning_rate": 1.3900000000000002e-05,
204
+ "loss": 6.9876,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 0.01,
209
+ "grad_norm": 6.844958782196045,
210
+ "learning_rate": 1.44e-05,
211
+ "loss": 6.9319,
212
+ "step": 290
213
+ },
214
+ {
215
+ "epoch": 0.01,
216
+ "grad_norm": 7.499362468719482,
217
+ "learning_rate": 1.49e-05,
218
+ "loss": 6.9253,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 0.01,
223
+ "grad_norm": 8.45572280883789,
224
+ "learning_rate": 1.54e-05,
225
+ "loss": 6.7999,
226
+ "step": 310
227
+ },
228
+ {
229
+ "epoch": 0.01,
230
+ "grad_norm": 8.108625411987305,
231
+ "learning_rate": 1.59e-05,
232
+ "loss": 6.7667,
233
+ "step": 320
234
+ },
235
+ {
236
+ "epoch": 0.01,
237
+ "grad_norm": 8.131596565246582,
238
+ "learning_rate": 1.6400000000000002e-05,
239
+ "loss": 6.7599,
240
+ "step": 330
241
+ },
242
+ {
243
+ "epoch": 0.01,
244
+ "grad_norm": 7.2159247398376465,
245
+ "learning_rate": 1.69e-05,
246
+ "loss": 6.7379,
247
+ "step": 340
248
+ },
249
+ {
250
+ "epoch": 0.01,
251
+ "grad_norm": 7.335048675537109,
252
+ "learning_rate": 1.74e-05,
253
+ "loss": 6.6553,
254
+ "step": 350
255
+ },
256
+ {
257
+ "epoch": 0.01,
258
+ "grad_norm": 7.361081600189209,
259
+ "learning_rate": 1.79e-05,
260
+ "loss": 6.6905,
261
+ "step": 360
262
+ },
263
+ {
264
+ "epoch": 0.01,
265
+ "grad_norm": 7.59442138671875,
266
+ "learning_rate": 1.84e-05,
267
+ "loss": 6.6356,
268
+ "step": 370
269
+ },
270
+ {
271
+ "epoch": 0.02,
272
+ "grad_norm": 7.31695032119751,
273
+ "learning_rate": 1.8900000000000002e-05,
274
+ "loss": 6.6538,
275
+ "step": 380
276
+ },
277
+ {
278
+ "epoch": 0.02,
279
+ "grad_norm": 7.541380882263184,
280
+ "learning_rate": 1.94e-05,
281
+ "loss": 6.6873,
282
+ "step": 390
283
+ },
284
+ {
285
+ "epoch": 0.02,
286
+ "grad_norm": 8.056180000305176,
287
+ "learning_rate": 1.9900000000000003e-05,
288
+ "loss": 6.6332,
289
+ "step": 400
290
+ },
291
+ {
292
+ "epoch": 0.02,
293
+ "grad_norm": 6.74859094619751,
294
+ "learning_rate": 2.04e-05,
295
+ "loss": 6.5488,
296
+ "step": 410
297
+ },
298
+ {
299
+ "epoch": 0.02,
300
+ "grad_norm": 7.700525760650635,
301
+ "learning_rate": 2.09e-05,
302
+ "loss": 6.611,
303
+ "step": 420
304
+ },
305
+ {
306
+ "epoch": 0.02,
307
+ "grad_norm": 7.347009181976318,
308
+ "learning_rate": 2.1400000000000002e-05,
309
+ "loss": 6.6621,
310
+ "step": 430
311
+ },
312
+ {
313
+ "epoch": 0.02,
314
+ "grad_norm": 6.607337951660156,
315
+ "learning_rate": 2.19e-05,
316
+ "loss": 6.568,
317
+ "step": 440
318
+ },
319
+ {
320
+ "epoch": 0.02,
321
+ "grad_norm": 6.816825866699219,
322
+ "learning_rate": 2.2400000000000002e-05,
323
+ "loss": 6.6293,
324
+ "step": 450
325
+ },
326
+ {
327
+ "epoch": 0.02,
328
+ "grad_norm": 6.984443664550781,
329
+ "learning_rate": 2.29e-05,
330
+ "loss": 6.5667,
331
+ "step": 460
332
+ },
333
+ {
334
+ "epoch": 0.02,
335
+ "grad_norm": 6.995021820068359,
336
+ "learning_rate": 2.3400000000000003e-05,
337
+ "loss": 6.5062,
338
+ "step": 470
339
+ },
340
+ {
341
+ "epoch": 0.02,
342
+ "grad_norm": 6.876286029815674,
343
+ "learning_rate": 2.39e-05,
344
+ "loss": 6.5034,
345
+ "step": 480
346
+ },
347
+ {
348
+ "epoch": 0.02,
349
+ "grad_norm": 6.953365802764893,
350
+ "learning_rate": 2.44e-05,
351
+ "loss": 6.459,
352
+ "step": 490
353
+ },
354
+ {
355
+ "epoch": 0.02,
356
+ "grad_norm": 7.246520519256592,
357
+ "learning_rate": 2.4900000000000002e-05,
358
+ "loss": 6.4359,
359
+ "step": 500
360
+ },
361
+ {
362
+ "epoch": 0.02,
363
+ "eval_loss": 6.133457660675049,
364
+ "eval_runtime": 422.8798,
365
+ "eval_samples_per_second": 50.182,
366
+ "eval_steps_per_second": 0.393,
367
+ "step": 500
368
+ }
369
+ ],
370
+ "logging_steps": 10,
371
+ "max_steps": 50400,
372
+ "num_input_tokens_seen": 0,
373
+ "num_train_epochs": 2,
374
+ "save_steps": 500,
375
+ "total_flos": 0.0,
376
+ "train_batch_size": 8,
377
+ "trial_name": null,
378
+ "trial_params": null
379
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37d08e731b46f2fc9ac1d4ac376bb688c70f2bf08a26eb4b0de280ef48858eb0
3
+ size 4539