tyzhu commited on
Commit
321785a
·
verified ·
1 Parent(s): d9655a9

Training in progress, epoch 5, checkpoint

Browse files
checkpoint-1250/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-1250/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d00393fcf0a4f609aee4a24be03dec1befe928a46d971a5f4a831493f808c642
3
+ size 143269386
checkpoint-1250/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-1250/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d47e8c7dbc284da123316b512c7c0a824fdd7d9bb5377aa68ec74ca4a3707861
3
- size 224537202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0cf790a2c4dfc94df9fdfd5aace202d988791970580472358a5eb53201771bd
3
+ size 286585234
checkpoint-1250/rng_state_0.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c27a50faba4545c880cd93025592bf145b53239b5ac200ede874cffe184a9f6f
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76e4f5e11740b6ebd4866595a96a2d2f794d8c0bfae8a8a789c7d7634c23a325
3
  size 15024
checkpoint-1250/rng_state_1.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f6256bc5a66e1db011a4eb97f0128029a1656b56674f464b3832fa40c9227f71
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5b2be0a6f48478a29701d3d85a06ebb6f953d1e81395dc001bd42cd17037d7d
3
  size 15024
checkpoint-1250/rng_state_2.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:66754ad5da9dc3d8a2f2f1d6eb74bd03574d65a7a31cb6da7bf0adfb30957b02
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c282be22e3e90af7037a4441c7fe54d3ba862cd36b36d2dc1572c68b11b27e15
3
  size 15024
checkpoint-1250/rng_state_3.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e3b4ec9a3a825d941fda5b9f4bc04ba248e68bc60fba3f1b50846af07a52f305
3
  size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f9b6da035f731d5300cb5640f1ffa2221c8682e04cb37114422dfb02fd51040
3
  size 15024
checkpoint-1250/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-1250/tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
checkpoint-1250/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-1250/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-1250/trainer_state.json CHANGED
@@ -10,183 +10,157 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.4,
13
- "grad_norm": 0.5479037761688232,
14
  "learning_rate": 0.0005,
15
- "loss": 2.3029,
16
  "step": 100
17
  },
18
  {
19
  "epoch": 0.8,
20
- "grad_norm": 0.5442906618118286,
21
  "learning_rate": 0.0005,
22
- "loss": 2.2398,
23
  "step": 200
24
  },
25
  {
26
  "epoch": 1.0,
27
- "eval_accuracy": 0.5162539682539683,
28
- "eval_loss": 2.3236427307128906,
29
- "eval_runtime": 5.266,
30
- "eval_samples_per_second": 94.949,
31
- "eval_steps_per_second": 11.964,
32
  "step": 250
33
  },
34
  {
35
  "epoch": 1.0,
36
- "eval_exact_match": 17.6,
37
- "eval_f1": 26.59450937950939,
38
  "step": 250
39
  },
40
  {
41
  "epoch": 1.2,
42
- "grad_norm": 0.6918729543685913,
43
  "learning_rate": 0.0005,
44
- "loss": 2.0245,
45
  "step": 300
46
  },
47
  {
48
  "epoch": 1.6,
49
- "grad_norm": 0.7950774431228638,
50
  "learning_rate": 0.0005,
51
- "loss": 1.8286,
52
  "step": 400
53
  },
54
  {
55
  "epoch": 2.0,
56
- "grad_norm": 0.6913579106330872,
57
  "learning_rate": 0.0005,
58
- "loss": 1.8301,
59
  "step": 500
60
  },
61
  {
62
  "epoch": 2.0,
63
- "eval_accuracy": 0.5124126984126984,
64
- "eval_loss": 2.4219954013824463,
65
- "eval_runtime": 5.2763,
66
- "eval_samples_per_second": 94.763,
67
- "eval_steps_per_second": 11.94,
68
  "step": 500
69
  },
70
  {
71
  "epoch": 2.0,
72
- "eval_exact_match": 17.0,
73
- "eval_f1": 24.808081363081367,
74
  "step": 500
75
  },
76
  {
77
  "epoch": 2.4,
78
- "grad_norm": 0.9923084378242493,
79
  "learning_rate": 0.0005,
80
- "loss": 1.3144,
81
  "step": 600
82
  },
83
  {
84
  "epoch": 2.8,
85
- "grad_norm": 1.0025588274002075,
86
  "learning_rate": 0.0005,
87
- "loss": 1.3626,
88
  "step": 700
89
  },
90
  {
91
  "epoch": 3.0,
92
- "eval_accuracy": 0.5061904761904762,
93
- "eval_loss": 2.6152632236480713,
94
- "eval_runtime": 5.2745,
95
- "eval_samples_per_second": 94.795,
96
- "eval_steps_per_second": 11.944,
97
  "step": 750
98
  },
99
  {
100
  "epoch": 3.0,
101
- "eval_exact_match": 16.0,
102
- "eval_f1": 24.234217449217454,
103
  "step": 750
104
  },
105
  {
106
  "epoch": 3.2,
107
- "grad_norm": 1.0352345705032349,
108
  "learning_rate": 0.0005,
109
- "loss": 1.1681,
110
  "step": 800
111
  },
112
  {
113
  "epoch": 3.6,
114
- "grad_norm": 1.1078394651412964,
115
  "learning_rate": 0.0005,
116
- "loss": 0.9584,
117
  "step": 900
118
  },
119
  {
120
  "epoch": 4.0,
121
- "grad_norm": 1.14862060546875,
122
  "learning_rate": 0.0005,
123
- "loss": 1.0112,
124
  "step": 1000
125
  },
126
  {
127
  "epoch": 4.0,
128
- "eval_accuracy": 0.49974603174603177,
129
- "eval_loss": 2.834880828857422,
130
- "eval_runtime": 5.1472,
131
- "eval_samples_per_second": 97.141,
132
- "eval_steps_per_second": 12.24,
133
  "step": 1000
134
  },
135
  {
136
  "epoch": 4.0,
137
- "eval_exact_match": 13.6,
138
- "eval_f1": 20.6380957930958,
139
  "step": 1000
140
  },
141
  {
142
  "epoch": 4.4,
143
- "grad_norm": 1.2231959104537964,
144
  "learning_rate": 0.0005,
145
- "loss": 0.6614,
146
  "step": 1100
147
  },
148
  {
149
  "epoch": 4.8,
150
- "grad_norm": 1.1669212579727173,
151
  "learning_rate": 0.0005,
152
- "loss": 0.7198,
153
  "step": 1200
154
  },
155
  {
156
  "epoch": 5.0,
157
- "eval_accuracy": 0.4963174603174603,
158
- "eval_loss": 3.075563907623291,
159
- "eval_runtime": 5.1584,
160
- "eval_samples_per_second": 96.929,
161
- "eval_steps_per_second": 12.213,
162
  "step": 1250
163
  },
164
  {
165
  "epoch": 5.0,
166
- "eval_exact_match": 14.0,
167
- "eval_f1": 20.88632090132091,
168
  "step": 1250
169
  }
170
  ],
171
  "logging_steps": 100,
172
  "max_steps": 12500,
173
- "num_input_tokens_seen": 0,
174
  "num_train_epochs": 50,
175
  "save_steps": 500,
176
- "stateful_callbacks": {
177
- "TrainerControl": {
178
- "args": {
179
- "should_epoch_stop": false,
180
- "should_evaluate": false,
181
- "should_log": false,
182
- "should_save": true,
183
- "should_training_stop": false
184
- },
185
- "attributes": {}
186
- }
187
- },
188
- "total_flos": 3.821795124497613e+16,
189
- "train_batch_size": 2,
190
  "trial_name": null,
191
  "trial_params": null
192
  }
 
10
  "log_history": [
11
  {
12
  "epoch": 0.4,
 
13
  "learning_rate": 0.0005,
14
+ "loss": 2.3712,
15
  "step": 100
16
  },
17
  {
18
  "epoch": 0.8,
 
19
  "learning_rate": 0.0005,
20
+ "loss": 1.8732,
21
  "step": 200
22
  },
23
  {
24
  "epoch": 1.0,
25
+ "eval_accuracy": 0.593873417721519,
26
+ "eval_loss": 2.011091947555542,
27
+ "eval_runtime": 4.861,
28
+ "eval_samples_per_second": 102.859,
29
+ "eval_steps_per_second": 12.96,
30
  "step": 250
31
  },
32
  {
33
  "epoch": 1.0,
34
+ "eval_exact_match": 0.0,
35
+ "eval_f1": 0.32835692091264185,
36
  "step": 250
37
  },
38
  {
39
  "epoch": 1.2,
 
40
  "learning_rate": 0.0005,
41
+ "loss": 1.7329,
42
  "step": 300
43
  },
44
  {
45
  "epoch": 1.6,
 
46
  "learning_rate": 0.0005,
47
+ "loss": 1.6233,
48
  "step": 400
49
  },
50
  {
51
  "epoch": 2.0,
 
52
  "learning_rate": 0.0005,
53
+ "loss": 1.6142,
54
  "step": 500
55
  },
56
  {
57
  "epoch": 2.0,
58
+ "eval_accuracy": 0.6051139240506329,
59
+ "eval_loss": 1.844284176826477,
60
+ "eval_runtime": 4.8205,
61
+ "eval_samples_per_second": 103.724,
62
+ "eval_steps_per_second": 13.069,
63
  "step": 500
64
  },
65
  {
66
  "epoch": 2.0,
67
+ "eval_exact_match": 0.0,
68
+ "eval_f1": 0.7215873015873017,
69
  "step": 500
70
  },
71
  {
72
  "epoch": 2.4,
 
73
  "learning_rate": 0.0005,
74
+ "loss": 1.1625,
75
  "step": 600
76
  },
77
  {
78
  "epoch": 2.8,
 
79
  "learning_rate": 0.0005,
80
+ "loss": 1.206,
81
  "step": 700
82
  },
83
  {
84
  "epoch": 3.0,
85
+ "eval_accuracy": 0.6007341772151898,
86
+ "eval_loss": 1.981817603111267,
87
+ "eval_runtime": 4.671,
88
+ "eval_samples_per_second": 107.044,
89
+ "eval_steps_per_second": 13.487,
90
  "step": 750
91
  },
92
  {
93
  "epoch": 3.0,
94
+ "eval_exact_match": 0.0,
95
+ "eval_f1": 0.4163636363636364,
96
  "step": 750
97
  },
98
  {
99
  "epoch": 3.2,
 
100
  "learning_rate": 0.0005,
101
+ "loss": 1.0064,
102
  "step": 800
103
  },
104
  {
105
  "epoch": 3.6,
 
106
  "learning_rate": 0.0005,
107
+ "loss": 0.8141,
108
  "step": 900
109
  },
110
  {
111
  "epoch": 4.0,
 
112
  "learning_rate": 0.0005,
113
+ "loss": 0.8693,
114
  "step": 1000
115
  },
116
  {
117
  "epoch": 4.0,
118
+ "eval_accuracy": 0.594126582278481,
119
+ "eval_loss": 2.2100281715393066,
120
+ "eval_runtime": 5.2488,
121
+ "eval_samples_per_second": 95.26,
122
+ "eval_steps_per_second": 12.003,
123
  "step": 1000
124
  },
125
  {
126
  "epoch": 4.0,
127
+ "eval_exact_match": 0.2,
128
+ "eval_f1": 1.559097642686839,
129
  "step": 1000
130
  },
131
  {
132
  "epoch": 4.4,
 
133
  "learning_rate": 0.0005,
134
+ "loss": 0.5477,
135
  "step": 1100
136
  },
137
  {
138
  "epoch": 4.8,
 
139
  "learning_rate": 0.0005,
140
+ "loss": 0.6023,
141
  "step": 1200
142
  },
143
  {
144
  "epoch": 5.0,
145
+ "eval_accuracy": 0.5910126582278481,
146
+ "eval_loss": 2.375615119934082,
147
+ "eval_runtime": 4.4156,
148
+ "eval_samples_per_second": 113.235,
149
+ "eval_steps_per_second": 14.268,
150
  "step": 1250
151
  },
152
  {
153
  "epoch": 5.0,
154
+ "eval_exact_match": 0.4,
155
+ "eval_f1": 2.41971862073413,
156
  "step": 1250
157
  }
158
  ],
159
  "logging_steps": 100,
160
  "max_steps": 12500,
 
161
  "num_train_epochs": 50,
162
  "save_steps": 500,
163
+ "total_flos": 7.98552666144768e+16,
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  "trial_name": null,
165
  "trial_params": null
166
  }
checkpoint-1250/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b62f42960cf4fd93abfb3be317e2e8ef04964ff17a18b3862335bf3c3ff7041
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:814f378bbfbf215f6c033d7b267886233699f8ce3ebf0a109279893fc2f542bf
3
+ size 4728