SystemAdmin123 commited on
Commit
b560235
·
verified ·
1 Parent(s): 30a3e99

Training in progress, step 50, checkpoint

Browse files
last-checkpoint/config.json CHANGED
@@ -1,31 +1,28 @@
1
  {
2
- "_name_or_path": "trl-internal-testing/tiny-random-LlamaForCausalLM",
3
  "architectures": [
4
- "LlamaForCausalLM"
5
  ],
6
- "attention_bias": false,
7
  "attention_dropout": 0.0,
8
- "bos_token_id": 0,
9
- "eos_token_id": 2,
10
- "head_dim": 4,
11
  "hidden_act": "silu",
12
- "hidden_size": 16,
13
  "initializer_range": 0.02,
14
- "intermediate_size": 64,
15
- "max_position_embeddings": 2048,
16
- "mlp_bias": false,
17
- "model_type": "llama",
18
- "num_attention_heads": 4,
19
- "num_hidden_layers": 2,
20
- "num_key_value_heads": 4,
21
- "pad_token_id": -1,
22
- "pretraining_tp": 1,
23
- "rms_norm_eps": 1e-06,
24
- "rope_scaling": null,
25
  "rope_theta": 10000.0,
 
26
  "tie_word_embeddings": false,
27
  "torch_dtype": "bfloat16",
28
  "transformers_version": "4.48.1",
29
  "use_cache": false,
30
- "vocab_size": 32000
31
  }
 
1
  {
2
+ "_name_or_path": "unsloth/OpenHermes-2.5-Mistral-7B",
3
  "architectures": [
4
+ "MistralForCausalLM"
5
  ],
 
6
  "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 32000,
9
+ "head_dim": 128,
10
  "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 32768,
15
+ "model_type": "mistral",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 8,
19
+ "pad_token_id": 0,
20
+ "rms_norm_eps": 1e-05,
 
 
 
21
  "rope_theta": 10000.0,
22
+ "sliding_window": 4096,
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "bfloat16",
25
  "transformers_version": "4.48.1",
26
  "use_cache": false,
27
+ "vocab_size": 32002
28
  }
last-checkpoint/generation_config.json CHANGED
@@ -1,8 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 0,
4
  "do_sample": true,
5
- "eos_token_id": 1,
6
- "pad_token_id": 2,
7
  "transformers_version": "4.48.1"
8
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 1,
4
  "do_sample": true,
5
+ "eos_token_id": 32000,
 
6
  "transformers_version": "4.48.1"
7
  }
last-checkpoint/model-00001-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:720105d2b88abf15d23994fec61854b0a1497a10d1d208715bd59904ab5936ff
3
  size 4943178720
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9e33d86b7643ca1dcb0ff586538eca0faa1c5ceb646f55ab91b4c3f84b9791f
3
  size 4943178720
last-checkpoint/model-00002-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:22f56733ac237ee5fada526e2a06e89d311e7ce1cb761f9b8f6986910b678378
3
  size 4999819336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09671ff7f4231f95a58974cee08101fdbd61e0e44a2da6afaa3f08be535bc56c
3
  size 4999819336
last-checkpoint/model-00003-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:31711beccc0b973ef7bf69d348d844233b185f6888f0520ae136ada35d74f983
3
  size 4540532728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:867e8292011b488643369bc98aece5a8d9682c4d0825739096988e70f10694e1
3
  size 4540532728
last-checkpoint/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45076cd7d7f407afe1d46ae5fb6859b5620dc1fca8a858a0851ce56bd11f8878
3
- size 2162798
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea5954872831a1199bf6baadd994d97241ff683269e1fa383981e05c79f3d256
3
+ size 14710155092
last-checkpoint/rng_state_0.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4faa065a55913b65f4b0549e4d93d87e8865c0f6ec216f40a3de4d251a15322a
3
- size 15984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d608751b30705d9fdab765f269290cd17ed21a1697e9fcb49bf7ebeaac38aebb
3
+ size 15024
last-checkpoint/rng_state_1.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:10ae8864af9d168bc9a94e5c5625da874d35a133304d7d7414b10c80148467d4
3
- size 15984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e84ec92ba6fcaca80f594e6a478d1a67e74e4c4df966b365126aa5fced1503ad
3
+ size 15024
last-checkpoint/rng_state_2.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ece1ed46b8aa193251efdc1d8393b3bb872b53f6ba93c31cc3efc627b34d74be
3
- size 15984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff2e96f7570e4637dff53935f12387cbc820714a50eb737472244c44d20994b4
3
+ size 15024
last-checkpoint/rng_state_3.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3018d94a8b9b3b95a3578032d80b8d3f31c01fab9a615c48039128422aba13ef
3
- size 15984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67a7f9fde521312c299d8fef03e73900bbba79d87446cea5f97a33fc79bebea8
3
+ size 15024
last-checkpoint/scheduler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:74485e67705dc36efbfb69b1e54f842e1ff07894d01bb0e36d6d2526a318b300
3
  size 1064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b5bd1b09d58ee3e65553e6f9772dc7c5ca98238b1cade33cccd500df2328864
3
  size 1064
last-checkpoint/special_tokens_map.json CHANGED
@@ -7,7 +7,7 @@
7
  "single_word": false
8
  },
9
  "eos_token": {
10
- "content": "</s>",
11
  "lstrip": false,
12
  "normalized": false,
13
  "rstrip": false,
 
7
  "single_word": false
8
  },
9
  "eos_token": {
10
+ "content": "<|im_end|>",
11
  "lstrip": false,
12
  "normalized": false,
13
  "rstrip": false,
last-checkpoint/tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d606f46a8aa6f29f0a0abdec7c3ffddefc9f9bfe26919532d209a0a850e25029
3
- size 3619013
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04222cd76979c181cd3f72c3bf6982fe2a09d9f4b8f23d82902efde18f1d0668
3
+ size 3506125
last-checkpoint/tokenizer.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
- size 499723
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
last-checkpoint/tokenizer_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
4
- "add_prefix_space": null,
5
  "added_tokens_decoder": {
6
  "0": {
7
  "content": "<unk>",
@@ -26,17 +26,38 @@
26
  "rstrip": false,
27
  "single_word": false,
28
  "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
  },
 
31
  "bos_token": "<s>",
32
- "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '### Instruction: ' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ '### Response: ' + message['content'] + eos_token}}{% endif %}{% endfor %}",
33
  "clean_up_tokenization_spaces": false,
34
- "eos_token": "</s>",
35
  "extra_special_tokens": {},
36
  "legacy": true,
37
- "model_max_length": 2048,
38
  "pad_token": "<unk>",
 
 
 
39
  "tokenizer_class": "LlamaTokenizer",
 
40
  "unk_token": "<unk>",
41
  "use_default_system_prompt": true,
42
  "use_fast": true
 
1
  {
2
  "add_bos_token": true,
3
  "add_eos_token": false,
4
+ "add_prefix_space": true,
5
  "added_tokens_decoder": {
6
  "0": {
7
  "content": "<unk>",
 
26
  "rstrip": false,
27
  "single_word": false,
28
  "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<|im_end|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<|im_start|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
  }
46
  },
47
+ "additional_special_tokens": [],
48
  "bos_token": "<s>",
49
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
50
  "clean_up_tokenization_spaces": false,
51
+ "eos_token": "<|im_end|>",
52
  "extra_special_tokens": {},
53
  "legacy": true,
54
+ "model_max_length": 32768,
55
  "pad_token": "<unk>",
56
+ "padding_side": "right",
57
+ "sp_model_kwargs": {},
58
+ "spaces_between_special_tokens": false,
59
  "tokenizer_class": "LlamaTokenizer",
60
+ "trust_remote_code": false,
61
  "unk_token": "<unk>",
62
  "use_default_system_prompt": true,
63
  "use_fast": true
last-checkpoint/trainer_state.json CHANGED
@@ -1,245 +1,62 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 100.0,
5
- "eval_steps": 200,
6
- "global_step": 300,
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.3333333333333333,
13
- "eval_loss": 10.375551223754883,
14
- "eval_runtime": 0.9886,
15
- "eval_samples_per_second": 1518.364,
16
- "eval_steps_per_second": 6.069,
17
  "step": 1
18
  },
19
  {
20
- "epoch": 3.3333333333333335,
21
- "grad_norm": 0.1015625,
22
- "learning_rate": 0.00019945218953682734,
23
- "loss": 10.3718,
24
  "step": 10
25
  },
26
  {
27
- "epoch": 6.666666666666667,
28
- "grad_norm": 0.162109375,
29
- "learning_rate": 0.00019781476007338058,
30
- "loss": 10.3553,
31
  "step": 20
32
  },
33
  {
34
- "epoch": 10.0,
35
- "grad_norm": 0.291015625,
36
- "learning_rate": 0.00019510565162951537,
37
- "loss": 10.3251,
38
  "step": 30
39
  },
40
  {
41
- "epoch": 13.333333333333334,
42
- "grad_norm": 0.330078125,
43
- "learning_rate": 0.0001913545457642601,
44
- "loss": 10.2723,
45
  "step": 40
46
  },
47
  {
48
- "epoch": 16.666666666666668,
49
- "grad_norm": 0.328125,
50
- "learning_rate": 0.00018660254037844388,
51
- "loss": 10.2096,
52
  "step": 50
53
- },
54
- {
55
- "epoch": 20.0,
56
- "grad_norm": 0.328125,
57
- "learning_rate": 0.00018090169943749476,
58
- "loss": 10.1499,
59
- "step": 60
60
- },
61
- {
62
- "epoch": 23.333333333333332,
63
- "grad_norm": 0.326171875,
64
- "learning_rate": 0.00017431448254773944,
65
- "loss": 10.0935,
66
- "step": 70
67
- },
68
- {
69
- "epoch": 26.666666666666668,
70
- "grad_norm": 0.333984375,
71
- "learning_rate": 0.00016691306063588583,
72
- "loss": 10.0398,
73
- "step": 80
74
- },
75
- {
76
- "epoch": 30.0,
77
- "grad_norm": 0.337890625,
78
- "learning_rate": 0.00015877852522924732,
79
- "loss": 9.9895,
80
- "step": 90
81
- },
82
- {
83
- "epoch": 33.333333333333336,
84
- "grad_norm": 0.341796875,
85
- "learning_rate": 0.00015000000000000001,
86
- "loss": 9.9424,
87
- "step": 100
88
- },
89
- {
90
- "epoch": 36.666666666666664,
91
- "grad_norm": 0.34375,
92
- "learning_rate": 0.00014067366430758004,
93
- "loss": 9.8995,
94
- "step": 110
95
- },
96
- {
97
- "epoch": 40.0,
98
- "grad_norm": 0.345703125,
99
- "learning_rate": 0.00013090169943749476,
100
- "loss": 9.859,
101
- "step": 120
102
- },
103
- {
104
- "epoch": 43.333333333333336,
105
- "grad_norm": 0.34765625,
106
- "learning_rate": 0.00012079116908177593,
107
- "loss": 9.8216,
108
- "step": 130
109
- },
110
- {
111
- "epoch": 46.666666666666664,
112
- "grad_norm": 0.3515625,
113
- "learning_rate": 0.00011045284632676536,
114
- "loss": 9.7872,
115
- "step": 140
116
- },
117
- {
118
- "epoch": 50.0,
119
- "grad_norm": 0.357421875,
120
- "learning_rate": 0.0001,
121
- "loss": 9.7569,
122
- "step": 150
123
- },
124
- {
125
- "epoch": 53.333333333333336,
126
- "grad_norm": 0.35546875,
127
- "learning_rate": 8.954715367323468e-05,
128
- "loss": 9.7325,
129
- "step": 160
130
- },
131
- {
132
- "epoch": 56.666666666666664,
133
- "grad_norm": 0.359375,
134
- "learning_rate": 7.920883091822408e-05,
135
- "loss": 9.712,
136
- "step": 170
137
- },
138
- {
139
- "epoch": 60.0,
140
- "grad_norm": 0.359375,
141
- "learning_rate": 6.909830056250527e-05,
142
- "loss": 9.697,
143
- "step": 180
144
- },
145
- {
146
- "epoch": 63.333333333333336,
147
- "grad_norm": 0.361328125,
148
- "learning_rate": 5.9326335692419995e-05,
149
- "loss": 9.6841,
150
- "step": 190
151
- },
152
- {
153
- "epoch": 66.66666666666667,
154
- "grad_norm": 0.361328125,
155
- "learning_rate": 5.000000000000002e-05,
156
- "loss": 9.6746,
157
- "step": 200
158
- },
159
- {
160
- "epoch": 66.66666666666667,
161
- "eval_loss": 9.681697845458984,
162
- "eval_runtime": 0.8666,
163
- "eval_samples_per_second": 1732.155,
164
- "eval_steps_per_second": 6.924,
165
- "step": 200
166
- },
167
- {
168
- "epoch": 70.0,
169
- "grad_norm": 0.36328125,
170
- "learning_rate": 4.12214747707527e-05,
171
- "loss": 9.6678,
172
- "step": 210
173
- },
174
- {
175
- "epoch": 73.33333333333333,
176
- "grad_norm": 0.36328125,
177
- "learning_rate": 3.308693936411421e-05,
178
- "loss": 9.6641,
179
- "step": 220
180
- },
181
- {
182
- "epoch": 76.66666666666667,
183
- "grad_norm": 0.36328125,
184
- "learning_rate": 2.5685517452260567e-05,
185
- "loss": 9.6616,
186
- "step": 230
187
- },
188
- {
189
- "epoch": 80.0,
190
- "grad_norm": 0.36328125,
191
- "learning_rate": 1.9098300562505266e-05,
192
- "loss": 9.6605,
193
- "step": 240
194
- },
195
- {
196
- "epoch": 83.33333333333333,
197
- "grad_norm": 0.365234375,
198
- "learning_rate": 1.339745962155613e-05,
199
- "loss": 9.6596,
200
- "step": 250
201
- },
202
- {
203
- "epoch": 86.66666666666667,
204
- "grad_norm": 0.36328125,
205
- "learning_rate": 8.645454235739903e-06,
206
- "loss": 9.6597,
207
- "step": 260
208
- },
209
- {
210
- "epoch": 90.0,
211
- "grad_norm": 0.36328125,
212
- "learning_rate": 4.8943483704846475e-06,
213
- "loss": 9.6595,
214
- "step": 270
215
- },
216
- {
217
- "epoch": 93.33333333333333,
218
- "grad_norm": 0.361328125,
219
- "learning_rate": 2.1852399266194314e-06,
220
- "loss": 9.6595,
221
- "step": 280
222
- },
223
- {
224
- "epoch": 96.66666666666667,
225
- "grad_norm": 0.3671875,
226
- "learning_rate": 5.478104631726711e-07,
227
- "loss": 9.659,
228
- "step": 290
229
- },
230
- {
231
- "epoch": 100.0,
232
- "grad_norm": 0.36328125,
233
- "learning_rate": 0.0,
234
- "loss": 9.6596,
235
- "step": 300
236
  }
237
  ],
238
  "logging_steps": 10,
239
- "max_steps": 300,
240
  "num_input_tokens_seen": 0,
241
- "num_train_epochs": 100,
242
- "save_steps": 40,
243
  "stateful_callbacks": {
244
  "TrainerControl": {
245
  "args": {
@@ -247,13 +64,13 @@
247
  "should_evaluate": false,
248
  "should_log": false,
249
  "should_save": true,
250
- "should_training_stop": true
251
  },
252
  "attributes": {}
253
  }
254
  },
255
- "total_flos": 490990259404800.0,
256
- "train_batch_size": 32,
257
  "trial_name": null,
258
  "trial_params": null
259
  }
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 0.47619047619047616,
5
+ "eval_steps": 100,
6
+ "global_step": 50,
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.009523809523809525,
13
+ "eval_loss": 1.873080849647522,
14
+ "eval_runtime": 27.6901,
15
+ "eval_samples_per_second": 54.207,
16
+ "eval_steps_per_second": 6.789,
17
  "step": 1
18
  },
19
  {
20
+ "epoch": 0.09523809523809523,
21
+ "grad_norm": 25.375,
22
+ "learning_rate": 6.666666666666667e-05,
23
+ "loss": 2.6924,
24
  "step": 10
25
  },
26
  {
27
+ "epoch": 0.19047619047619047,
28
+ "grad_norm": 2560.0,
29
+ "learning_rate": 0.00013333333333333334,
30
+ "loss": 4.615,
31
  "step": 20
32
  },
33
  {
34
+ "epoch": 0.2857142857142857,
35
+ "grad_norm": 42.25,
36
+ "learning_rate": 0.0002,
37
+ "loss": 9.3887,
38
  "step": 30
39
  },
40
  {
41
+ "epoch": 0.38095238095238093,
42
+ "grad_norm": 1152.0,
43
+ "learning_rate": 0.00019984815164333163,
44
+ "loss": 8.7566,
45
  "step": 40
46
  },
47
  {
48
+ "epoch": 0.47619047619047616,
49
+ "grad_norm": 62.5,
50
+ "learning_rate": 0.00019939306773179497,
51
+ "loss": 8.555,
52
  "step": 50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  }
54
  ],
55
  "logging_steps": 10,
56
+ "max_steps": 600,
57
  "num_input_tokens_seen": 0,
58
+ "num_train_epochs": 6,
59
+ "save_steps": 50,
60
  "stateful_callbacks": {
61
  "TrainerControl": {
62
  "args": {
 
64
  "should_evaluate": false,
65
  "should_log": false,
66
  "should_save": true,
67
+ "should_training_stop": false
68
  },
69
  "attributes": {}
70
  }
71
  },
72
+ "total_flos": 3.495035542700032e+16,
73
+ "train_batch_size": 2,
74
  "trial_name": null,
75
  "trial_params": null
76
  }
last-checkpoint/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c5805d33db3bd7bbd9181584d8158e2b8616e3f18d56ec44b12ac78d4f859a79
3
- size 6840
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7626f1764e5176ea7bd748263d627f8cb6423b299d8a596d8f39c9c0a75e460
3
+ size 6776