tyzhu commited on
Commit
dfa4241
1 Parent(s): ada935e

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:3d400fb7071dd48b4a22a3e8f14134f93538434031113dc45f32b51670078d88
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:62e962b48b5f6e41429aec32fe8f1cafba469e3bc24b128d3e752795cc36fef7
3
- size 224537202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92a4a0a0d10b19a59da3ecd79d4c7bc3393083e11c94ac48015caf6143c22b7e
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,97 +9,87 @@
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
- "epoch": 0.1890359168241966,
13
- "grad_norm": 0.3393945097923279,
14
  "learning_rate": 0.0003,
15
- "loss": 1.951,
16
  "step": 100
17
  },
18
  {
19
- "epoch": 0.3780718336483932,
20
- "grad_norm": 8017.20361328125,
21
  "learning_rate": 0.0003,
22
- "loss": 2.0285,
23
  "step": 200
24
  },
25
  {
26
- "epoch": 0.5671077504725898,
27
- "grad_norm": 9146.7236328125,
28
  "learning_rate": 0.0003,
29
- "loss": 6.5404,
30
  "step": 300
31
  },
32
  {
33
- "epoch": 0.7561436672967864,
34
- "grad_norm": 574.934326171875,
35
  "learning_rate": 0.0003,
36
- "loss": 7.7357,
37
  "step": 400
38
  },
39
  {
40
- "epoch": 0.945179584120983,
41
- "grad_norm": 25128.55859375,
42
  "learning_rate": 0.0003,
43
- "loss": 6.3771,
44
  "step": 500
45
  },
46
  {
47
  "epoch": 1.0,
48
- "eval_accuracy": 0.24974358974358973,
49
- "eval_loss": 10.19681453704834,
50
- "eval_runtime": 5.1408,
51
- "eval_samples_per_second": 97.26,
52
- "eval_steps_per_second": 12.255,
53
  "step": 529
54
  },
55
  {
56
  "epoch": 1.0,
57
- "eval_exact_match": 0.0,
58
- "eval_f1": 0.0,
59
  "step": 529
60
  },
61
  {
62
- "epoch": 1.1342155009451795,
63
- "grad_norm": 1332.8885498046875,
64
  "learning_rate": 0.0003,
65
- "loss": 11.0858,
66
  "step": 600
67
  },
68
  {
69
- "epoch": 1.3232514177693762,
70
- "grad_norm": 3666.881591796875,
71
  "learning_rate": 0.0003,
72
- "loss": 9.483,
73
  "step": 700
74
  },
75
  {
76
- "epoch": 1.5122873345935728,
77
- "grad_norm": 356847.0,
78
  "learning_rate": 0.0003,
79
- "loss": 8.069,
80
  "step": 800
81
  },
82
  {
83
- "epoch": 1.7013232514177694,
84
- "grad_norm": 1061.877685546875,
85
  "learning_rate": 0.0003,
86
- "loss": 8.7493,
87
  "step": 900
88
  },
89
  {
90
- "epoch": 1.8903591682419658,
91
- "grad_norm": 46670.3046875,
92
  "learning_rate": 0.0003,
93
- "loss": 8.3415,
94
  "step": 1000
95
  },
96
  {
97
  "epoch": 2.0,
98
- "eval_accuracy": 0.20507692307692307,
99
- "eval_loss": 7.504091262817383,
100
- "eval_runtime": 5.2437,
101
- "eval_samples_per_second": 95.352,
102
- "eval_steps_per_second": 12.014,
103
  "step": 1058
104
  },
105
  {
@@ -109,132 +99,107 @@
109
  "step": 1058
110
  },
111
  {
112
- "epoch": 2.0793950850661624,
113
- "grad_norm": 2.0727381706237793,
114
  "learning_rate": 0.0003,
115
- "loss": 8.3511,
116
  "step": 1100
117
  },
118
  {
119
- "epoch": 2.268431001890359,
120
- "grad_norm": 1.8185893297195435,
121
  "learning_rate": 0.0003,
122
- "loss": 7.3065,
123
  "step": 1200
124
  },
125
  {
126
- "epoch": 2.4574669187145557,
127
- "grad_norm": 1620.93701171875,
128
  "learning_rate": 0.0003,
129
- "loss": 7.1302,
130
  "step": 1300
131
  },
132
  {
133
- "epoch": 2.6465028355387523,
134
- "grad_norm": 1.0691380500793457,
135
  "learning_rate": 0.0003,
136
- "loss": 7.4423,
137
  "step": 1400
138
  },
139
  {
140
- "epoch": 2.835538752362949,
141
- "grad_norm": 1.0605100393295288,
142
  "learning_rate": 0.0003,
143
- "loss": 7.6715,
144
  "step": 1500
145
  },
146
  {
147
  "epoch": 3.0,
148
- "eval_accuracy": 0.28507692307692306,
149
- "eval_loss": 7.084368705749512,
150
- "eval_runtime": 5.493,
151
- "eval_samples_per_second": 91.026,
152
- "eval_steps_per_second": 11.469,
153
  "step": 1587
154
  },
155
  {
156
  "epoch": 3.0,
157
  "eval_exact_match": 0.0,
158
- "eval_f1": 0.08,
159
  "step": 1587
160
  },
161
  {
162
- "epoch": 3.0245746691871456,
163
- "grad_norm": 1967676800.0,
164
  "learning_rate": 0.0003,
165
- "loss": 7.8617,
166
  "step": 1600
167
  },
168
  {
169
- "epoch": 3.213610586011342,
170
- "grad_norm": 83918778793984.0,
171
  "learning_rate": 0.0003,
172
- "loss": 8.083,
173
  "step": 1700
174
  },
175
  {
176
- "epoch": 3.402646502835539,
177
- "grad_norm": 12349449.0,
178
  "learning_rate": 0.0003,
179
- "loss": 8.0382,
180
  "step": 1800
181
  },
182
  {
183
- "epoch": 3.5916824196597354,
184
- "grad_norm": 52939337728.0,
185
  "learning_rate": 0.0003,
186
- "loss": 7.8761,
187
  "step": 1900
188
  },
189
  {
190
- "epoch": 3.780718336483932,
191
- "grad_norm": 1381182.25,
192
  "learning_rate": 0.0003,
193
- "loss": 7.4665,
194
  "step": 2000
195
  },
196
  {
197
- "epoch": 3.9697542533081287,
198
- "grad_norm": 105.80550384521484,
199
  "learning_rate": 0.0003,
200
- "loss": 7.8182,
201
  "step": 2100
202
  },
203
  {
204
  "epoch": 4.0,
205
- "eval_accuracy": 0.23933333333333334,
206
- "eval_loss": 7.05845308303833,
207
- "eval_runtime": 5.0891,
208
- "eval_samples_per_second": 98.248,
209
- "eval_steps_per_second": 12.379,
210
  "step": 2116
211
  },
212
  {
213
  "epoch": 4.0,
214
- "eval_exact_match": 0.0,
215
- "eval_f1": 0.0,
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": 0.0003,
14
+ "loss": 1.4758,
15
  "step": 100
16
  },
17
  {
18
+ "epoch": 0.38,
 
19
  "learning_rate": 0.0003,
20
+ "loss": 1.3867,
21
  "step": 200
22
  },
23
  {
24
+ "epoch": 0.57,
 
25
  "learning_rate": 0.0003,
26
+ "loss": 1.4064,
27
  "step": 300
28
  },
29
  {
30
+ "epoch": 0.76,
 
31
  "learning_rate": 0.0003,
32
+ "loss": 1.3789,
33
  "step": 400
34
  },
35
  {
36
+ "epoch": 0.95,
 
37
  "learning_rate": 0.0003,
38
+ "loss": 1.3822,
39
  "step": 500
40
  },
41
  {
42
  "epoch": 1.0,
43
+ "eval_accuracy": 0.6171794871794872,
44
+ "eval_loss": 1.2976911067962646,
45
+ "eval_runtime": 4.224,
46
+ "eval_samples_per_second": 118.372,
47
+ "eval_steps_per_second": 14.915,
48
  "step": 529
49
  },
50
  {
51
  "epoch": 1.0,
52
+ "eval_exact_match": 0.2,
53
+ "eval_f1": 2.031878046337681,
54
  "step": 529
55
  },
56
  {
57
+ "epoch": 1.13,
 
58
  "learning_rate": 0.0003,
59
+ "loss": 1.3048,
60
  "step": 600
61
  },
62
  {
63
+ "epoch": 1.32,
 
64
  "learning_rate": 0.0003,
65
+ "loss": 1.2524,
66
  "step": 700
67
  },
68
  {
69
+ "epoch": 1.51,
 
70
  "learning_rate": 0.0003,
71
+ "loss": 1.3009,
72
  "step": 800
73
  },
74
  {
75
+ "epoch": 1.7,
 
76
  "learning_rate": 0.0003,
77
+ "loss": 1.268,
78
  "step": 900
79
  },
80
  {
81
+ "epoch": 1.89,
 
82
  "learning_rate": 0.0003,
83
+ "loss": 1.2744,
84
  "step": 1000
85
  },
86
  {
87
  "epoch": 2.0,
88
+ "eval_accuracy": 0.6032307692307692,
89
+ "eval_loss": 1.374481201171875,
90
+ "eval_runtime": 4.4141,
91
+ "eval_samples_per_second": 113.274,
92
+ "eval_steps_per_second": 14.272,
93
  "step": 1058
94
  },
95
  {
 
99
  "step": 1058
100
  },
101
  {
102
+ "epoch": 2.08,
 
103
  "learning_rate": 0.0003,
104
+ "loss": 1.2158,
105
  "step": 1100
106
  },
107
  {
108
+ "epoch": 2.27,
 
109
  "learning_rate": 0.0003,
110
+ "loss": 1.1066,
111
  "step": 1200
112
  },
113
  {
114
+ "epoch": 2.46,
 
115
  "learning_rate": 0.0003,
116
+ "loss": 1.1365,
117
  "step": 1300
118
  },
119
  {
120
+ "epoch": 2.65,
 
121
  "learning_rate": 0.0003,
122
+ "loss": 1.1486,
123
  "step": 1400
124
  },
125
  {
126
+ "epoch": 2.84,
 
127
  "learning_rate": 0.0003,
128
+ "loss": 1.1768,
129
  "step": 1500
130
  },
131
  {
132
  "epoch": 3.0,
133
+ "eval_accuracy": 0.6157435897435898,
134
+ "eval_loss": 1.331903100013733,
135
+ "eval_runtime": 4.8466,
136
+ "eval_samples_per_second": 103.164,
137
+ "eval_steps_per_second": 12.999,
138
  "step": 1587
139
  },
140
  {
141
  "epoch": 3.0,
142
  "eval_exact_match": 0.0,
143
+ "eval_f1": 0.0,
144
  "step": 1587
145
  },
146
  {
147
+ "epoch": 3.02,
 
148
  "learning_rate": 0.0003,
149
+ "loss": 1.1769,
150
  "step": 1600
151
  },
152
  {
153
+ "epoch": 3.21,
 
154
  "learning_rate": 0.0003,
155
+ "loss": 0.9541,
156
  "step": 1700
157
  },
158
  {
159
+ "epoch": 3.4,
 
160
  "learning_rate": 0.0003,
161
+ "loss": 1.2939,
162
  "step": 1800
163
  },
164
  {
165
+ "epoch": 3.59,
 
166
  "learning_rate": 0.0003,
167
+ "loss": 0.9852,
168
  "step": 1900
169
  },
170
  {
171
+ "epoch": 3.78,
 
172
  "learning_rate": 0.0003,
173
+ "loss": 0.9538,
174
  "step": 2000
175
  },
176
  {
177
+ "epoch": 3.97,
 
178
  "learning_rate": 0.0003,
179
+ "loss": 0.9247,
180
  "step": 2100
181
  },
182
  {
183
  "epoch": 4.0,
184
+ "eval_accuracy": 0.6101538461538462,
185
+ "eval_loss": 1.4367107152938843,
186
+ "eval_runtime": 4.4146,
187
+ "eval_samples_per_second": 113.259,
188
+ "eval_steps_per_second": 14.271,
189
  "step": 2116
190
  },
191
  {
192
  "epoch": 4.0,
193
+ "eval_exact_match": 6.6,
194
+ "eval_f1": 9.897142857142855,
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:186f3ae462881ca0bb3a6b5295a97a245e0a78172be9c14948a2d07a12aa4241
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b59ca157797b57867ac15a1da8ca60d782441a1506bb7cb43703c7748b856900
3
+ size 4728