tyzhu commited on
Commit
6179930
1 Parent(s): 494f616

Training in progress, epoch 4, checkpoint

Browse files
checkpoint-2116/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-2116/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e2f5905d2b7cac55e6cf2caaedb95497eac0124152fc7a1df2c78a03bab3a31
3
+ size 143269386
checkpoint-2116/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-2116/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f71224ddc1da928abf5472a6d08e0371bba8dfeb2db93b36973d9012ea831bfc
3
- size 224537202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16f3a67654dd6ba11ae3a3a12094712de0bedb60e699280daadba7e181fa67b3
3
+ size 286585234
checkpoint-2116/rng_state_0.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3546939282725f3420282820ce11dccd183081a7695dfb0932b43cb23f64f666
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5482162cf79af5df816815a7998b53864f377712e6173e698a072ed90cbbd417
3
  size 15024
checkpoint-2116/rng_state_1.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:84a7180ccf20e8071e60e84138803766e35bd622f3d3fccefcfcedcd0033f3ac
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:725aceebd2200c4fbfe3cd51e2057af02d462280c324fd8bcc6c163a383c7f53
3
  size 15024
checkpoint-2116/rng_state_2.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8b179e4473daad1af858e71a86bc1439fe859c1da720f28144e0e116290bae1
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0580f1bdd35d8911788c8c4cd2a6eb96109f4ab443e04a952700fea953994a4
3
  size 15024
checkpoint-2116/rng_state_3.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f58a3d6adfc184a1d0dc7c9a9d16de79f5c0cf1896ef5f51941da733a04b7e26
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8ede547fad94a856ad03a42fa67de3c9904b13e45c66934c0e22d6caab956f7
3
  size 15024
checkpoint-2116/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-2116/tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
checkpoint-2116/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-2116/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-2116/trainer_state.json CHANGED
@@ -9,232 +9,197 @@
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
- "epoch": 0.1890359168241966,
13
- "grad_norm": 0.5558584332466125,
14
  "learning_rate": 3e-05,
15
- "loss": 2.1103,
16
  "step": 100
17
  },
18
  {
19
- "epoch": 0.3780718336483932,
20
- "grad_norm": 0.4733140468597412,
21
  "learning_rate": 3e-05,
22
- "loss": 1.931,
23
  "step": 200
24
  },
25
  {
26
- "epoch": 0.5671077504725898,
27
- "grad_norm": 0.48580050468444824,
28
  "learning_rate": 3e-05,
29
- "loss": 1.8948,
30
  "step": 300
31
  },
32
  {
33
- "epoch": 0.7561436672967864,
34
- "grad_norm": 0.40655234456062317,
35
  "learning_rate": 3e-05,
36
- "loss": 1.8988,
37
  "step": 400
38
  },
39
  {
40
- "epoch": 0.945179584120983,
41
- "grad_norm": 0.6303955316543579,
42
  "learning_rate": 3e-05,
43
- "loss": 1.8745,
44
  "step": 500
45
  },
46
  {
47
  "epoch": 1.0,
48
- "eval_accuracy": 0.5701538461538461,
49
- "eval_loss": 1.6455246210098267,
50
- "eval_runtime": 5.0805,
51
- "eval_samples_per_second": 98.415,
52
- "eval_steps_per_second": 12.4,
53
  "step": 529
54
  },
55
  {
56
  "epoch": 1.0,
57
- "eval_exact_match": 15.0,
58
- "eval_f1": 23.927619047619068,
59
  "step": 529
60
  },
61
  {
62
- "epoch": 1.1342155009451795,
63
- "grad_norm": 0.4278818666934967,
64
  "learning_rate": 3e-05,
65
- "loss": 1.8798,
66
  "step": 600
67
  },
68
  {
69
- "epoch": 1.3232514177693762,
70
- "grad_norm": 0.449830025434494,
71
  "learning_rate": 3e-05,
72
- "loss": 1.8613,
73
  "step": 700
74
  },
75
  {
76
- "epoch": 1.5122873345935728,
77
- "grad_norm": 0.5130725502967834,
78
  "learning_rate": 3e-05,
79
- "loss": 1.8709,
80
  "step": 800
81
  },
82
  {
83
- "epoch": 1.7013232514177694,
84
- "grad_norm": 0.4889715611934662,
85
  "learning_rate": 3e-05,
86
- "loss": 1.8448,
87
  "step": 900
88
  },
89
  {
90
- "epoch": 1.8903591682419658,
91
- "grad_norm": 11.186380386352539,
92
  "learning_rate": 3e-05,
93
- "loss": 1.8764,
94
  "step": 1000
95
  },
96
  {
97
  "epoch": 2.0,
98
- "eval_accuracy": 0.5723589743589743,
99
- "eval_loss": 1.6143561601638794,
100
- "eval_runtime": 5.0466,
101
- "eval_samples_per_second": 99.077,
102
- "eval_steps_per_second": 12.484,
103
  "step": 1058
104
  },
105
  {
106
  "epoch": 2.0,
107
- "eval_exact_match": 15.6,
108
- "eval_f1": 25.825238095238113,
109
  "step": 1058
110
  },
111
  {
112
- "epoch": 2.0793950850661624,
113
- "grad_norm": 0.5414931774139404,
114
  "learning_rate": 3e-05,
115
- "loss": 1.8398,
116
  "step": 1100
117
  },
118
  {
119
- "epoch": 2.268431001890359,
120
- "grad_norm": 7.441005706787109,
121
  "learning_rate": 3e-05,
122
- "loss": 1.8348,
123
  "step": 1200
124
  },
125
  {
126
- "epoch": 2.4574669187145557,
127
- "grad_norm": 24.312145233154297,
128
  "learning_rate": 3e-05,
129
- "loss": 1.8421,
130
  "step": 1300
131
  },
132
  {
133
- "epoch": 2.6465028355387523,
134
- "grad_norm": 0.7407662868499756,
135
  "learning_rate": 3e-05,
136
- "loss": 1.8292,
137
  "step": 1400
138
  },
139
  {
140
- "epoch": 2.835538752362949,
141
- "grad_norm": 0.9653642177581787,
142
  "learning_rate": 3e-05,
143
- "loss": 1.828,
144
  "step": 1500
145
  },
146
  {
147
  "epoch": 3.0,
148
- "eval_accuracy": 0.5734358974358974,
149
- "eval_loss": 1.617864727973938,
150
- "eval_runtime": 5.2153,
151
- "eval_samples_per_second": 95.872,
152
- "eval_steps_per_second": 12.08,
153
  "step": 1587
154
  },
155
  {
156
  "epoch": 3.0,
157
- "eval_exact_match": 16.2,
158
- "eval_f1": 25.811428571428586,
159
  "step": 1587
160
  },
161
  {
162
- "epoch": 3.0245746691871456,
163
- "grad_norm": 450.6055603027344,
164
  "learning_rate": 3e-05,
165
- "loss": 1.8204,
166
  "step": 1600
167
  },
168
  {
169
- "epoch": 3.213610586011342,
170
- "grad_norm": 2.1127028465270996,
171
  "learning_rate": 3e-05,
172
- "loss": 1.8361,
173
  "step": 1700
174
  },
175
  {
176
- "epoch": 3.402646502835539,
177
- "grad_norm": 564.9320068359375,
178
  "learning_rate": 3e-05,
179
- "loss": 1.8338,
180
  "step": 1800
181
  },
182
  {
183
- "epoch": 3.5916824196597354,
184
- "grad_norm": 52.5078010559082,
185
  "learning_rate": 3e-05,
186
- "loss": 1.8075,
187
  "step": 1900
188
  },
189
  {
190
- "epoch": 3.780718336483932,
191
- "grad_norm": 27.87557601928711,
192
  "learning_rate": 3e-05,
193
- "loss": 1.8175,
194
  "step": 2000
195
  },
196
  {
197
- "epoch": 3.9697542533081287,
198
- "grad_norm": 4.810656547546387,
199
  "learning_rate": 3e-05,
200
- "loss": 1.8218,
201
  "step": 2100
202
  },
203
  {
204
  "epoch": 4.0,
205
- "eval_accuracy": 0.5728205128205128,
206
- "eval_loss": 1.6224406957626343,
207
- "eval_runtime": 5.0588,
208
- "eval_samples_per_second": 98.838,
209
- "eval_steps_per_second": 12.454,
210
  "step": 2116
211
  },
212
  {
213
  "epoch": 4.0,
214
- "eval_exact_match": 17.4,
215
- "eval_f1": 27.194285714285726,
216
  "step": 2116
217
  }
218
  ],
219
  "logging_steps": 100,
220
  "max_steps": 26450,
221
- "num_input_tokens_seen": 0,
222
  "num_train_epochs": 50,
223
  "save_steps": 500,
224
- "stateful_callbacks": {
225
- "TrainerControl": {
226
- "args": {
227
- "should_epoch_stop": false,
228
- "should_evaluate": false,
229
- "should_log": false,
230
- "should_save": true,
231
- "should_training_stop": false
232
- },
233
- "attributes": {}
234
- }
235
- },
236
- "total_flos": 1.722440409583452e+17,
237
- "train_batch_size": 2,
238
  "trial_name": null,
239
  "trial_params": null
240
  }
 
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
+ "epoch": 0.19,
 
13
  "learning_rate": 3e-05,
14
+ "loss": 1.7194,
15
  "step": 100
16
  },
17
  {
18
+ "epoch": 0.38,
 
19
  "learning_rate": 3e-05,
20
+ "loss": 1.4369,
21
  "step": 200
22
  },
23
  {
24
+ "epoch": 0.57,
 
25
  "learning_rate": 3e-05,
26
+ "loss": 1.4257,
27
  "step": 300
28
  },
29
  {
30
+ "epoch": 0.76,
 
31
  "learning_rate": 3e-05,
32
+ "loss": 1.3947,
33
  "step": 400
34
  },
35
  {
36
+ "epoch": 0.95,
 
37
  "learning_rate": 3e-05,
38
+ "loss": 1.3948,
39
  "step": 500
40
  },
41
  {
42
  "epoch": 1.0,
43
+ "eval_accuracy": 0.6132307692307692,
44
+ "eval_loss": 1.3087366819381714,
45
+ "eval_runtime": 4.3553,
46
+ "eval_samples_per_second": 114.803,
47
+ "eval_steps_per_second": 14.465,
48
  "step": 529
49
  },
50
  {
51
  "epoch": 1.0,
52
+ "eval_exact_match": 24.4,
53
+ "eval_f1": 37.614420394420414,
54
  "step": 529
55
  },
56
  {
57
+ "epoch": 1.13,
 
58
  "learning_rate": 3e-05,
59
+ "loss": 1.3927,
60
  "step": 600
61
  },
62
  {
63
+ "epoch": 1.32,
 
64
  "learning_rate": 3e-05,
65
+ "loss": 1.3644,
66
  "step": 700
67
  },
68
  {
69
+ "epoch": 1.51,
 
70
  "learning_rate": 3e-05,
71
+ "loss": 1.3791,
72
  "step": 800
73
  },
74
  {
75
+ "epoch": 1.7,
 
76
  "learning_rate": 3e-05,
77
+ "loss": 1.3627,
78
  "step": 900
79
  },
80
  {
81
+ "epoch": 1.89,
 
82
  "learning_rate": 3e-05,
83
+ "loss": 1.3789,
84
  "step": 1000
85
  },
86
  {
87
  "epoch": 2.0,
88
+ "eval_accuracy": 0.6146153846153846,
89
+ "eval_loss": 1.289727807044983,
90
+ "eval_runtime": 4.4281,
91
+ "eval_samples_per_second": 112.915,
92
+ "eval_steps_per_second": 14.227,
93
  "step": 1058
94
  },
95
  {
96
  "epoch": 2.0,
97
+ "eval_exact_match": 23.2,
98
+ "eval_f1": 35.56775335775336,
99
  "step": 1058
100
  },
101
  {
102
+ "epoch": 2.08,
 
103
  "learning_rate": 3e-05,
104
+ "loss": 1.3605,
105
  "step": 1100
106
  },
107
  {
108
+ "epoch": 2.27,
 
109
  "learning_rate": 3e-05,
110
+ "loss": 1.3306,
111
  "step": 1200
112
  },
113
  {
114
+ "epoch": 2.46,
 
115
  "learning_rate": 3e-05,
116
+ "loss": 1.3318,
117
  "step": 1300
118
  },
119
  {
120
+ "epoch": 2.65,
 
121
  "learning_rate": 3e-05,
122
+ "loss": 1.3491,
123
  "step": 1400
124
  },
125
  {
126
+ "epoch": 2.84,
 
127
  "learning_rate": 3e-05,
128
+ "loss": 1.3259,
129
  "step": 1500
130
  },
131
  {
132
  "epoch": 3.0,
133
+ "eval_accuracy": 0.6178974358974358,
134
+ "eval_loss": 1.2849316596984863,
135
+ "eval_runtime": 4.875,
136
+ "eval_samples_per_second": 102.565,
137
+ "eval_steps_per_second": 12.923,
138
  "step": 1587
139
  },
140
  {
141
  "epoch": 3.0,
142
+ "eval_exact_match": 25.2,
143
+ "eval_f1": 37.32698412698414,
144
  "step": 1587
145
  },
146
  {
147
+ "epoch": 3.02,
 
148
  "learning_rate": 3e-05,
149
+ "loss": 1.3255,
150
  "step": 1600
151
  },
152
  {
153
+ "epoch": 3.21,
 
154
  "learning_rate": 3e-05,
155
+ "loss": 1.28,
156
  "step": 1700
157
  },
158
  {
159
+ "epoch": 3.4,
 
160
  "learning_rate": 3e-05,
161
+ "loss": 1.2995,
162
  "step": 1800
163
  },
164
  {
165
+ "epoch": 3.59,
 
166
  "learning_rate": 3e-05,
167
+ "loss": 1.2991,
168
  "step": 1900
169
  },
170
  {
171
+ "epoch": 3.78,
 
172
  "learning_rate": 3e-05,
173
+ "loss": 1.3024,
174
  "step": 2000
175
  },
176
  {
177
+ "epoch": 3.97,
 
178
  "learning_rate": 3e-05,
179
+ "loss": 1.2853,
180
  "step": 2100
181
  },
182
  {
183
  "epoch": 4.0,
184
+ "eval_accuracy": 0.615948717948718,
185
+ "eval_loss": 1.316924810409546,
186
+ "eval_runtime": 5.3385,
187
+ "eval_samples_per_second": 93.659,
188
+ "eval_steps_per_second": 11.801,
189
  "step": 2116
190
  },
191
  {
192
  "epoch": 4.0,
193
+ "eval_exact_match": 23.8,
194
+ "eval_f1": 36.284920634920645,
195
  "step": 2116
196
  }
197
  ],
198
  "logging_steps": 100,
199
  "max_steps": 26450,
 
200
  "num_train_epochs": 50,
201
  "save_steps": 500,
202
+ "total_flos": 3.573289814620897e+17,
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  "trial_name": null,
204
  "trial_params": null
205
  }
checkpoint-2116/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3895667ea94410ecd283430024ce6f8557816c9d86efd03783de342ef988d79c
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec9dd2a1e083127818a65cb4d99f38a0a803e54a476491027d2e996644eba47c
3
+ size 4728