tyzhu commited on
Commit
f483689
1 Parent(s): 4d8db50

Training in progress, epoch 7, checkpoint

Browse files
checkpoint-1750/adapter_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "auto_mapping": null,
3
- "base_model_name_or_path": "Qwen/Qwen1.5-4B",
4
  "bias": "none",
5
  "fan_in_fan_out": false,
6
  "inference_mode": true,
 
1
  {
2
  "auto_mapping": null,
3
+ "base_model_name_or_path": "meta-llama/Llama-2-7b-hf",
4
  "bias": "none",
5
  "fan_in_fan_out": false,
6
  "inference_mode": true,
checkpoint-1750/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b029f3c1a1c69d20da7fe452df547774b53be634bb4559d9a69710038fdf688
3
+ size 143269386
checkpoint-1750/added_tokens.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "<|endoftext|>": 151643,
3
- "<|im_end|>": 151645,
4
- "<|im_start|>": 151644
5
  }
 
1
  {
2
+ "</s>": 2,
3
+ "<s>": 1,
4
+ "<unk>": 0
5
  }
checkpoint-1750/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:372c8eae58f033aed7ed3d784bfefaf8101f5e1c7e7ae78c27dd290546d7f182
3
- size 224537202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c80107fdd8d26085ae6f40c6aa2241c09b780c6e586596972ebca300dfc1ed91
3
+ size 286585234
checkpoint-1750/rng_state_0.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8682619276c2b0065c534f71527b0066dc0a59af0826bd18b825b745792333a
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de8efabcf844712060e79b5443bb414c4e9e2b8de2bb83bd05518a65714725c4
3
  size 15024
checkpoint-1750/rng_state_1.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7d4ba7487935a3cf4150de8b356e28bc572e838fd1eda4dd52e4d30e1aeb7b5d
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5711288181abd64b4962a004e977be9f4cc4f0ae859473818ed7eb8c0f15370
3
  size 15024
checkpoint-1750/rng_state_2.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7a399cdf26fcf8a50ec3d329eb115e5940244c939e7eb45cea8bafe2df9b7fad
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2253fd50d34b41987edc5bfdf59f632a1970cebda19ab2bd203c2fb863082365
3
  size 15024
checkpoint-1750/rng_state_3.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7ec61a59cb6030864ed7ceaf1600b19c96d331f20111df6db8db11df6666252
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cda8223aa40220092b89cce2edd3c597ca5ad11cd8976e4b2db7dfc93a96572
3
  size 15024
checkpoint-1750/special_tokens_map.json CHANGED
@@ -1,14 +1,6 @@
1
  {
2
- "additional_special_tokens": [
3
- "<|im_start|>",
4
- "<|im_end|>"
5
- ],
6
- "eos_token": {
7
- "content": "<|endoftext|>",
8
- "lstrip": false,
9
- "normalized": false,
10
- "rstrip": false,
11
- "single_word": false
12
- },
13
- "pad_token": "<|endoftext|>"
14
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "pad_token": "</s>",
5
+ "unk_token": "<unk>"
 
 
 
 
 
 
 
 
6
  }
checkpoint-1750/tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
checkpoint-1750/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-1750/tokenizer_config.json CHANGED
@@ -1,24 +1,23 @@
1
  {
2
- "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
- "151643": {
5
- "content": "<|endoftext|>",
6
  "lstrip": false,
7
  "normalized": false,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
- "151644": {
13
- "content": "<|im_start|>",
14
  "lstrip": false,
15
  "normalized": false,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
19
  },
20
- "151645": {
21
- "content": "<|im_end|>",
22
  "lstrip": false,
23
  "normalized": false,
24
  "rstrip": false,
@@ -26,18 +25,16 @@
26
  "special": true
27
  }
28
  },
29
- "additional_special_tokens": [
30
- "<|im_start|>",
31
- "<|im_end|>"
32
- ],
33
- "bos_token": null,
34
- "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
35
  "clean_up_tokenization_spaces": false,
36
- "eos_token": "<|endoftext|>",
37
- "errors": "replace",
38
- "model_max_length": 32768,
39
- "pad_token": "<|endoftext|>",
40
- "split_special_tokens": false,
41
- "tokenizer_class": "Qwen2Tokenizer",
42
- "unk_token": null
 
 
43
  }
 
1
  {
 
2
  "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
+ "1": {
12
+ "content": "<s>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
+ "2": {
20
+ "content": "</s>",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
 
25
  "special": true
26
  }
27
  },
28
+ "additional_special_tokens": [],
29
+ "bos_token": "<s>",
 
 
 
 
30
  "clean_up_tokenization_spaces": false,
31
+ "eos_token": "</s>",
32
+ "legacy": false,
33
+ "model_max_length": 1000000000000000019884624838656,
34
+ "pad_token": "</s>",
35
+ "padding_side": "left",
36
+ "sp_model_kwargs": {},
37
+ "tokenizer_class": "LlamaTokenizer",
38
+ "unk_token": "<unk>",
39
+ "use_default_system_prompt": true
40
  }
checkpoint-1750/trainer_state.json CHANGED
@@ -10,248 +10,217 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.4,
13
- "grad_norm": 0.5897082090377808,
14
  "learning_rate": 0.0001,
15
- "loss": 2.3566,
16
  "step": 100
17
  },
18
  {
19
  "epoch": 0.8,
20
- "grad_norm": 0.5390245914459229,
21
  "learning_rate": 0.0001,
22
- "loss": 2.2503,
23
  "step": 200
24
  },
25
  {
26
  "epoch": 1.0,
27
- "eval_accuracy": 0.5155873015873016,
28
- "eval_loss": 2.3237216472625732,
29
- "eval_runtime": 6.3164,
30
- "eval_samples_per_second": 79.159,
31
- "eval_steps_per_second": 9.974,
32
  "step": 250
33
  },
34
  {
35
  "epoch": 1.0,
36
- "eval_exact_match": 17.2,
37
- "eval_f1": 25.586581359816655,
38
  "step": 250
39
  },
40
  {
41
  "epoch": 1.2,
42
- "grad_norm": 0.7468857169151306,
43
  "learning_rate": 0.0001,
44
- "loss": 2.1798,
45
  "step": 300
46
  },
47
  {
48
  "epoch": 1.6,
49
- "grad_norm": 0.9109599590301514,
50
  "learning_rate": 0.0001,
51
- "loss": 2.1094,
52
  "step": 400
53
  },
54
  {
55
  "epoch": 2.0,
56
- "grad_norm": 0.8458774089813232,
57
  "learning_rate": 0.0001,
58
- "loss": 2.087,
59
  "step": 500
60
  },
61
  {
62
  "epoch": 2.0,
63
- "eval_accuracy": 0.5163809523809524,
64
- "eval_loss": 2.3309242725372314,
65
- "eval_runtime": 5.1896,
66
- "eval_samples_per_second": 96.347,
67
- "eval_steps_per_second": 12.14,
68
  "step": 500
69
  },
70
  {
71
  "epoch": 2.0,
72
- "eval_exact_match": 18.6,
73
- "eval_f1": 26.043196248196264,
74
  "step": 500
75
  },
76
  {
77
  "epoch": 2.4,
78
- "grad_norm": 1.171212077140808,
79
  "learning_rate": 0.0001,
80
- "loss": 1.8413,
81
  "step": 600
82
  },
83
  {
84
  "epoch": 2.8,
85
- "grad_norm": 1.1294909715652466,
86
  "learning_rate": 0.0001,
87
- "loss": 1.849,
88
  "step": 700
89
  },
90
  {
91
  "epoch": 3.0,
92
- "eval_accuracy": 0.5144761904761905,
93
- "eval_loss": 2.401942253112793,
94
- "eval_runtime": 5.5775,
95
- "eval_samples_per_second": 89.646,
96
- "eval_steps_per_second": 11.295,
97
  "step": 750
98
  },
99
  {
100
  "epoch": 3.0,
101
- "eval_exact_match": 18.4,
102
- "eval_f1": 26.966370002546494,
103
  "step": 750
104
  },
105
  {
106
  "epoch": 3.2,
107
- "grad_norm": 1.5013824701309204,
108
  "learning_rate": 0.0001,
109
- "loss": 1.7322,
110
  "step": 800
111
  },
112
  {
113
  "epoch": 3.6,
114
- "grad_norm": 1.4516321420669556,
115
  "learning_rate": 0.0001,
116
- "loss": 1.5908,
117
  "step": 900
118
  },
119
  {
120
  "epoch": 4.0,
121
- "grad_norm": 1.6037466526031494,
122
  "learning_rate": 0.0001,
123
- "loss": 1.6193,
124
  "step": 1000
125
  },
126
  {
127
  "epoch": 4.0,
128
- "eval_accuracy": 0.5103809523809524,
129
- "eval_loss": 2.5039021968841553,
130
- "eval_runtime": 5.1568,
131
- "eval_samples_per_second": 96.96,
132
- "eval_steps_per_second": 12.217,
133
  "step": 1000
134
  },
135
  {
136
  "epoch": 4.0,
137
- "eval_exact_match": 18.4,
138
- "eval_f1": 26.892813852813866,
139
  "step": 1000
140
  },
141
  {
142
  "epoch": 4.4,
143
- "grad_norm": 1.7909170389175415,
144
  "learning_rate": 0.0001,
145
- "loss": 1.3298,
146
  "step": 1100
147
  },
148
  {
149
  "epoch": 4.8,
150
- "grad_norm": 1.9236161708831787,
151
  "learning_rate": 0.0001,
152
- "loss": 1.3666,
153
  "step": 1200
154
  },
155
  {
156
  "epoch": 5.0,
157
- "eval_accuracy": 0.505015873015873,
158
- "eval_loss": 2.6543924808502197,
159
- "eval_runtime": 5.5115,
160
- "eval_samples_per_second": 90.719,
161
- "eval_steps_per_second": 11.431,
162
  "step": 1250
163
  },
164
  {
165
  "epoch": 5.0,
166
- "eval_exact_match": 18.4,
167
- "eval_f1": 25.875286609941792,
168
  "step": 1250
169
  },
170
  {
171
  "epoch": 5.2,
172
- "grad_norm": 1.8524874448776245,
173
  "learning_rate": 0.0001,
174
- "loss": 1.2381,
175
  "step": 1300
176
  },
177
  {
178
  "epoch": 5.6,
179
- "grad_norm": 2.1092071533203125,
180
  "learning_rate": 0.0001,
181
- "loss": 1.1141,
182
  "step": 1400
183
  },
184
  {
185
  "epoch": 6.0,
186
- "grad_norm": 2.065767288208008,
187
  "learning_rate": 0.0001,
188
- "loss": 1.1435,
189
  "step": 1500
190
  },
191
  {
192
  "epoch": 6.0,
193
- "eval_accuracy": 0.5010793650793651,
194
- "eval_loss": 2.843566656112671,
195
- "eval_runtime": 5.1394,
196
- "eval_samples_per_second": 97.287,
197
- "eval_steps_per_second": 12.258,
198
  "step": 1500
199
  },
200
  {
201
  "epoch": 6.0,
202
- "eval_exact_match": 17.4,
203
- "eval_f1": 24.31514874014875,
204
  "step": 1500
205
  },
206
  {
207
  "epoch": 6.4,
208
- "grad_norm": 2.329406261444092,
209
  "learning_rate": 0.0001,
210
- "loss": 0.8887,
211
  "step": 1600
212
  },
213
  {
214
  "epoch": 6.8,
215
- "grad_norm": 2.489598274230957,
216
  "learning_rate": 0.0001,
217
- "loss": 0.9171,
218
  "step": 1700
219
  },
220
  {
221
  "epoch": 7.0,
222
- "eval_accuracy": 0.49707936507936507,
223
- "eval_loss": 3.0319864749908447,
224
- "eval_runtime": 5.3015,
225
- "eval_samples_per_second": 94.313,
226
- "eval_steps_per_second": 11.883,
227
  "step": 1750
228
  },
229
  {
230
  "epoch": 7.0,
231
- "eval_exact_match": 16.0,
232
- "eval_f1": 22.824985569985575,
233
  "step": 1750
234
  }
235
  ],
236
  "logging_steps": 100,
237
  "max_steps": 12500,
238
- "num_input_tokens_seen": 0,
239
  "num_train_epochs": 50,
240
  "save_steps": 500,
241
- "stateful_callbacks": {
242
- "TrainerControl": {
243
- "args": {
244
- "should_epoch_stop": false,
245
- "should_evaluate": false,
246
- "should_log": false,
247
- "should_save": true,
248
- "should_training_stop": false
249
- },
250
- "attributes": {}
251
- }
252
- },
253
- "total_flos": 5.352167147411866e+16,
254
- "train_batch_size": 2,
255
  "trial_name": null,
256
  "trial_params": null
257
  }
 
10
  "log_history": [
11
  {
12
  "epoch": 0.4,
 
13
  "learning_rate": 0.0001,
14
+ "loss": 2.0446,
15
  "step": 100
16
  },
17
  {
18
  "epoch": 0.8,
 
19
  "learning_rate": 0.0001,
20
+ "loss": 1.7752,
21
  "step": 200
22
  },
23
  {
24
  "epoch": 1.0,
25
+ "eval_accuracy": 0.6076455696202532,
26
+ "eval_loss": 1.8067126274108887,
27
+ "eval_runtime": 5.0018,
28
+ "eval_samples_per_second": 99.965,
29
+ "eval_steps_per_second": 12.596,
30
  "step": 250
31
  },
32
  {
33
  "epoch": 1.0,
34
+ "eval_exact_match": 24.4,
35
+ "eval_f1": 35.27913510466144,
36
  "step": 250
37
  },
38
  {
39
  "epoch": 1.2,
 
40
  "learning_rate": 0.0001,
41
+ "loss": 1.7141,
42
  "step": 300
43
  },
44
  {
45
  "epoch": 1.6,
 
46
  "learning_rate": 0.0001,
47
+ "loss": 1.6576,
48
  "step": 400
49
  },
50
  {
51
  "epoch": 2.0,
 
52
  "learning_rate": 0.0001,
53
+ "loss": 1.6469,
54
  "step": 500
55
  },
56
  {
57
  "epoch": 2.0,
58
+ "eval_accuracy": 0.607746835443038,
59
+ "eval_loss": 1.810449481010437,
60
+ "eval_runtime": 4.5227,
61
+ "eval_samples_per_second": 110.552,
62
+ "eval_steps_per_second": 13.93,
63
  "step": 500
64
  },
65
  {
66
  "epoch": 2.0,
67
+ "eval_exact_match": 24.2,
68
+ "eval_f1": 33.990575470281364,
69
  "step": 500
70
  },
71
  {
72
  "epoch": 2.4,
 
73
  "learning_rate": 0.0001,
74
+ "loss": 1.4453,
75
  "step": 600
76
  },
77
  {
78
  "epoch": 2.8,
 
79
  "learning_rate": 0.0001,
80
+ "loss": 1.474,
81
  "step": 700
82
  },
83
  {
84
  "epoch": 3.0,
85
+ "eval_accuracy": 0.6055696202531645,
86
+ "eval_loss": 1.8687865734100342,
87
+ "eval_runtime": 4.7138,
88
+ "eval_samples_per_second": 106.072,
89
+ "eval_steps_per_second": 13.365,
90
  "step": 750
91
  },
92
  {
93
  "epoch": 3.0,
94
+ "eval_exact_match": 23.0,
95
+ "eval_f1": 33.30356143856145,
96
  "step": 750
97
  },
98
  {
99
  "epoch": 3.2,
 
100
  "learning_rate": 0.0001,
101
+ "loss": 1.3572,
102
  "step": 800
103
  },
104
  {
105
  "epoch": 3.6,
 
106
  "learning_rate": 0.0001,
107
+ "loss": 1.2472,
108
  "step": 900
109
  },
110
  {
111
  "epoch": 4.0,
 
112
  "learning_rate": 0.0001,
113
+ "loss": 1.2742,
114
  "step": 1000
115
  },
116
  {
117
  "epoch": 4.0,
118
+ "eval_accuracy": 0.6030886075949367,
119
+ "eval_loss": 1.9776239395141602,
120
+ "eval_runtime": 4.5553,
121
+ "eval_samples_per_second": 109.762,
122
+ "eval_steps_per_second": 13.83,
123
  "step": 1000
124
  },
125
  {
126
  "epoch": 4.0,
127
+ "eval_exact_match": 22.6,
128
+ "eval_f1": 32.07458596958597,
129
  "step": 1000
130
  },
131
  {
132
  "epoch": 4.4,
 
133
  "learning_rate": 0.0001,
134
+ "loss": 1.0303,
135
  "step": 1100
136
  },
137
  {
138
  "epoch": 4.8,
 
139
  "learning_rate": 0.0001,
140
+ "loss": 1.0851,
141
  "step": 1200
142
  },
143
  {
144
  "epoch": 5.0,
145
+ "eval_accuracy": 0.599873417721519,
146
+ "eval_loss": 2.081591844558716,
147
+ "eval_runtime": 5.0717,
148
+ "eval_samples_per_second": 98.586,
149
+ "eval_steps_per_second": 12.422,
150
  "step": 1250
151
  },
152
  {
153
  "epoch": 5.0,
154
+ "eval_exact_match": 21.8,
155
+ "eval_f1": 30.650287424993316,
156
  "step": 1250
157
  },
158
  {
159
  "epoch": 5.2,
 
160
  "learning_rate": 0.0001,
161
+ "loss": 0.9745,
162
  "step": 1300
163
  },
164
  {
165
  "epoch": 5.6,
 
166
  "learning_rate": 0.0001,
167
+ "loss": 0.8784,
168
  "step": 1400
169
  },
170
  {
171
  "epoch": 6.0,
 
172
  "learning_rate": 0.0001,
173
+ "loss": 0.9085,
174
  "step": 1500
175
  },
176
  {
177
  "epoch": 6.0,
178
+ "eval_accuracy": 0.5969873417721518,
179
+ "eval_loss": 2.2579739093780518,
180
+ "eval_runtime": 4.9122,
181
+ "eval_samples_per_second": 101.788,
182
+ "eval_steps_per_second": 12.825,
183
  "step": 1500
184
  },
185
  {
186
  "epoch": 6.0,
187
+ "eval_exact_match": 21.8,
188
+ "eval_f1": 30.116953765189066,
189
  "step": 1500
190
  },
191
  {
192
  "epoch": 6.4,
 
193
  "learning_rate": 0.0001,
194
+ "loss": 0.6992,
195
  "step": 1600
196
  },
197
  {
198
  "epoch": 6.8,
 
199
  "learning_rate": 0.0001,
200
+ "loss": 0.7383,
201
  "step": 1700
202
  },
203
  {
204
  "epoch": 7.0,
205
+ "eval_accuracy": 0.5939240506329114,
206
+ "eval_loss": 2.3878135681152344,
207
+ "eval_runtime": 4.4125,
208
+ "eval_samples_per_second": 113.315,
209
+ "eval_steps_per_second": 14.278,
210
  "step": 1750
211
  },
212
  {
213
  "epoch": 7.0,
214
+ "eval_exact_match": 22.2,
215
+ "eval_f1": 30.4995441160147,
216
  "step": 1750
217
  }
218
  ],
219
  "logging_steps": 100,
220
  "max_steps": 12500,
 
221
  "num_train_epochs": 50,
222
  "save_steps": 500,
223
+ "total_flos": 1.1181178636520653e+17,
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  "trial_name": null,
225
  "trial_params": null
226
  }
checkpoint-1750/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c3414153f69372b550d629c900d05ab7510b14d218f2d8546142e7b41d948d3e
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e32f95a567f2c80104b456ab796a180c8c7fa1c0685e00bbceb4995e8fa84ef1
3
+ size 4728