SystemAdmin123 commited on
Commit
922e06c
·
verified ·
1 Parent(s): 37df057

Training in progress, step 100, checkpoint

Browse files
last-checkpoint/config.json CHANGED
@@ -1,28 +1,30 @@
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
  }
 
1
  {
2
+ "_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
3
  "architectures": [
4
+ "LlamaForCausalLM"
5
  ],
6
+ "attention_bias": false,
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 64,
11
  "hidden_act": "silu",
12
+ "hidden_size": 2048,
13
  "initializer_range": 0.02,
14
+ "intermediate_size": 5632,
15
+ "max_position_embeddings": 2048,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
  "num_attention_heads": 32,
19
+ "num_hidden_layers": 22,
20
+ "num_key_value_heads": 4,
21
+ "pretraining_tp": 1,
22
  "rms_norm_eps": 1e-05,
23
+ "rope_scaling": null,
24
  "rope_theta": 10000.0,
 
25
  "tie_word_embeddings": false,
26
  "torch_dtype": "bfloat16",
27
  "transformers_version": "4.48.1",
28
  "use_cache": false,
29
+ "vocab_size": 32000
30
  }
last-checkpoint/generation_config.json CHANGED
@@ -1,7 +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
  }
 
1
  {
 
2
  "bos_token_id": 1,
3
  "do_sample": true,
4
+ "eos_token_id": 2,
5
+ "max_length": 2048,
6
+ "pad_token_id": 0,
7
  "transformers_version": "4.48.1"
8
  }
last-checkpoint/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9ce8744c1e71a49bf9bff3ccecfc98f1e92613ac7fabd94737ad873ca1a94de
3
- size 250490408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f733e9041aab06f212569d2073af6e6c0acf30fcc84bec18f30feab19bc086f
3
+ size 2200119864
last-checkpoint/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d9ba45f2201a4a373dfbdc728ab19e675bfdfebf3a6c2523b065cadd5c719946
3
- size 14710155092
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e7f6e0595a900a9079a5615b8fdd966aefa419bcc59d072afe009c68faa40b1
3
+ size 2235234810
last-checkpoint/rng_state_0.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f20d155a14d34cd1bb6d04e5de90f3224906e1758821edd752a8f1a9085a2db
3
- size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e139d403fa01e97c7f0b1fb6f366f88e99b3ef2d1090658accfac79d4e4bf7a
3
+ size 15984
last-checkpoint/rng_state_1.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ad18e870a176ca75a54f6620f83de92bdfd5a91302744d90bff8e5feae2fe0c5
3
- size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:163db0385f3f2c6cc1cdde3fd1262ef8c70bc95cb0742071833b93242de76dd2
3
+ size 15984
last-checkpoint/rng_state_2.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9009a52be47b75834407dc5e146ed5360e6f23a35bff27bab34ef6fb47df1661
3
- size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3f2223c650d0a4e2baa05aba88577beb8cf1341342d6523706f17972a2f481c
3
+ size 15984
last-checkpoint/rng_state_3.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7fb494a08fd57e7c6f63f06826c872164986e81b271996be0496671f713bdcc3
3
- size 15024
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f06016ff924c2dbb5f6bd90ff3c51224f11735ecac5d42e1b0d6eb800acc7b67
3
+ size 15984
last-checkpoint/rng_state_4.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e76900c3a49367b21bcd4b796fdf1376987ed660638bdf98ccd45d1a87f5c184
3
  size 15984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7099cb24dc8750eaaa6a5df6cead1dfa156e46f7a3a478fb7ea1f45a9599d5c1
3
  size 15984
last-checkpoint/rng_state_5.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4a446f1cd24dab7caff9cadff49a53cd1909d2fb5bba7af3112c5b9d54f4308b
3
  size 15984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19562befb91856d315c73b5e1fe6c1554bd4ffd5d803c7f9588b2b2a18b10eb7
3
  size 15984
last-checkpoint/rng_state_6.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:507ef075351dc4050f0467f54693ae3336a7708023dc0aefe5fd3e986b17b4a8
3
  size 15984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b055646d6b89d5f656bbcc0f7774bff592c8649c36beead05e7d98a901842815
3
  size 15984
last-checkpoint/rng_state_7.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:de7dde0309a85b36fb0802e6f2c30acf442b986826853119d1478a511a694e77
3
  size 15984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d80f9631b5929172f6acf476e00b42058e6cff03360fb2e0c295ebe290c9cd6
3
  size 15984
last-checkpoint/scheduler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9cd11d413bc67bf01de9a1a006e9e7655be307353028b25f5b3c299e5b6b7a44
3
  size 1064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a60c7d771c1fd156acee762fba03c724cb41829a3f71df370ecd1d20b134982
3
  size 1064
last-checkpoint/special_tokens_map.json CHANGED
@@ -7,14 +7,14 @@
7
  "single_word": false
8
  },
9
  "eos_token": {
10
- "content": "<|im_end|>",
11
  "lstrip": false,
12
  "normalized": false,
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
  "pad_token": {
17
- "content": "<unk>",
18
  "lstrip": false,
19
  "normalized": false,
20
  "rstrip": false,
 
7
  "single_word": false
8
  },
9
  "eos_token": {
10
+ "content": "</s>",
11
  "lstrip": false,
12
  "normalized": false,
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
  "pad_token": {
17
+ "content": "</s>",
18
  "lstrip": false,
19
  "normalized": false,
20
  "rstrip": false,
last-checkpoint/tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:04222cd76979c181cd3f72c3bf6982fe2a09d9f4b8f23d82902efde18f1d0668
3
- size 3506125
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c88bda6bdd84543eadebdf4bd2ec325ae43b71a3ff1fead6a766562c00b29bd8
3
+ size 3619016
last-checkpoint/tokenizer.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
- size 493443
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
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": true,
5
  "added_tokens_decoder": {
6
  "0": {
7
  "content": "<unk>",
@@ -26,39 +26,20 @@
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
64
  }
 
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
  "rstrip": false,
27
  "single_word": false,
28
  "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
  },
 
31
  "bos_token": "<s>",
32
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
33
  "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
  "extra_special_tokens": {},
36
+ "legacy": false,
37
+ "model_max_length": 2048,
38
+ "pad_token": "</s>",
39
  "padding_side": "right",
40
  "sp_model_kwargs": {},
 
41
  "tokenizer_class": "LlamaTokenizer",
 
42
  "unk_token": "<unk>",
43
+ "use_default_system_prompt": false,
44
  "use_fast": true
45
  }
last-checkpoint/trainer_state.json CHANGED
@@ -1,174 +1,96 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 1.9047619047619047,
5
  "eval_steps": 200,
6
- "global_step": 200,
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.6632,
15
- "eval_samples_per_second": 54.26,
16
- "eval_steps_per_second": 6.796,
17
  "step": 1
18
  },
19
  {
20
- "epoch": 0.09523809523809523,
21
- "grad_norm": 25.75,
22
- "learning_rate": 6.666666666666667e-05,
23
- "loss": 2.7082,
24
  "step": 10
25
  },
26
  {
27
- "epoch": 0.19047619047619047,
28
- "grad_norm": 466.0,
29
- "learning_rate": 0.00013333333333333334,
30
- "loss": 3.6654,
31
  "step": 20
32
  },
33
  {
34
- "epoch": 0.2857142857142857,
35
- "grad_norm": 2040.0,
36
- "learning_rate": 0.0002,
37
- "loss": 9.544,
38
  "step": 30
39
  },
40
  {
41
- "epoch": 0.38095238095238093,
42
- "grad_norm": 1632.0,
43
- "learning_rate": 0.00019984815164333163,
44
- "loss": 9.2338,
45
  "step": 40
46
  },
47
  {
48
- "epoch": 0.47619047619047616,
49
- "grad_norm": 83.0,
50
- "learning_rate": 0.00019939306773179497,
51
- "loss": 8.3396,
52
  "step": 50
53
  },
54
  {
55
- "epoch": 0.5714285714285714,
56
- "grad_norm": 37.25,
57
- "learning_rate": 0.00019863613034027224,
58
- "loss": 7.7295,
59
  "step": 60
60
  },
61
  {
62
- "epoch": 0.6666666666666666,
63
- "grad_norm": 109.5,
64
- "learning_rate": 0.00019757963826274357,
65
- "loss": 7.6581,
66
  "step": 70
67
  },
68
  {
69
- "epoch": 0.7619047619047619,
70
- "grad_norm": 95.5,
71
- "learning_rate": 0.00019622680003092503,
72
- "loss": 7.5321,
73
  "step": 80
74
  },
75
  {
76
- "epoch": 0.8571428571428571,
77
- "grad_norm": 76.5,
78
- "learning_rate": 0.00019458172417006347,
79
- "loss": 7.4379,
80
  "step": 90
81
  },
82
  {
83
- "epoch": 0.9523809523809523,
84
- "grad_norm": 34.25,
85
- "learning_rate": 0.00019264940672148018,
86
- "loss": 7.4215,
87
  "step": 100
88
- },
89
- {
90
- "epoch": 1.0476190476190477,
91
- "grad_norm": 25.75,
92
- "learning_rate": 0.00019043571606975777,
93
- "loss": 7.3074,
94
- "step": 110
95
- },
96
- {
97
- "epoch": 1.1428571428571428,
98
- "grad_norm": 27.0,
99
- "learning_rate": 0.0001879473751206489,
100
- "loss": 7.2047,
101
- "step": 120
102
- },
103
- {
104
- "epoch": 1.2380952380952381,
105
- "grad_norm": 16.75,
106
- "learning_rate": 0.00018519194088383273,
107
- "loss": 7.2054,
108
- "step": 130
109
- },
110
- {
111
- "epoch": 1.3333333333333333,
112
- "grad_norm": 312.0,
113
- "learning_rate": 0.0001821777815225245,
114
- "loss": 7.2831,
115
- "step": 140
116
- },
117
- {
118
- "epoch": 1.4285714285714286,
119
- "grad_norm": 134.0,
120
- "learning_rate": 0.00017891405093963938,
121
- "loss": 7.1299,
122
- "step": 150
123
- },
124
- {
125
- "epoch": 1.5238095238095237,
126
- "grad_norm": 255.0,
127
- "learning_rate": 0.00017541066097768963,
128
- "loss": 7.0289,
129
- "step": 160
130
- },
131
- {
132
- "epoch": 1.619047619047619,
133
- "grad_norm": 21.125,
134
- "learning_rate": 0.00017167825131684513,
135
- "loss": 7.0257,
136
- "step": 170
137
- },
138
- {
139
- "epoch": 1.7142857142857144,
140
- "grad_norm": 18.5,
141
- "learning_rate": 0.00016772815716257412,
142
- "loss": 6.9214,
143
- "step": 180
144
- },
145
- {
146
- "epoch": 1.8095238095238095,
147
- "grad_norm": 25.25,
148
- "learning_rate": 0.00016357237482099684,
149
- "loss": 6.8652,
150
- "step": 190
151
- },
152
- {
153
- "epoch": 1.9047619047619047,
154
- "grad_norm": 12.125,
155
- "learning_rate": 0.00015922352526649803,
156
- "loss": 6.745,
157
- "step": 200
158
- },
159
- {
160
- "epoch": 1.9047619047619047,
161
- "eval_loss": 6.904326438903809,
162
- "eval_runtime": 26.9851,
163
- "eval_samples_per_second": 55.623,
164
- "eval_steps_per_second": 6.967,
165
- "step": 200
166
  }
167
  ],
168
  "logging_steps": 10,
169
- "max_steps": 600,
170
  "num_input_tokens_seen": 0,
171
- "num_train_epochs": 6,
172
  "save_steps": 200,
173
  "stateful_callbacks": {
174
  "TrainerControl": {
@@ -177,13 +99,13 @@
177
  "should_evaluate": false,
178
  "should_log": false,
179
  "should_save": true,
180
- "should_training_stop": false
181
  },
182
  "attributes": {}
183
  }
184
  },
185
- "total_flos": 1.3980142170800128e+17,
186
- "train_batch_size": 2,
187
  "trial_name": null,
188
  "trial_params": null
189
  }
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 12.5,
5
  "eval_steps": 200,
6
+ "global_step": 100,
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.125,
13
+ "eval_loss": 2.0389645099639893,
14
+ "eval_runtime": 3.3031,
15
+ "eval_samples_per_second": 454.427,
16
+ "eval_steps_per_second": 4.844,
17
  "step": 1
18
  },
19
  {
20
+ "epoch": 1.25,
21
+ "grad_norm": 2.234375,
22
+ "learning_rate": 0.00019863613034027224,
23
+ "loss": 1.8385,
24
  "step": 10
25
  },
26
  {
27
+ "epoch": 2.5,
28
+ "grad_norm": 1.90625,
29
+ "learning_rate": 0.0001879473751206489,
30
+ "loss": 1.1862,
31
  "step": 20
32
  },
33
  {
34
+ "epoch": 3.75,
35
+ "grad_norm": 1.375,
36
+ "learning_rate": 0.00016772815716257412,
37
+ "loss": 0.615,
38
  "step": 30
39
  },
40
  {
41
+ "epoch": 5.0,
42
+ "grad_norm": 0.82421875,
43
+ "learning_rate": 0.00014016954246529696,
44
+ "loss": 0.2473,
45
  "step": 40
46
  },
47
  {
48
+ "epoch": 6.25,
49
+ "grad_norm": 0.498046875,
50
+ "learning_rate": 0.00010825793454723325,
51
+ "loss": 0.0731,
52
  "step": 50
53
  },
54
  {
55
+ "epoch": 7.5,
56
+ "grad_norm": 0.29296875,
57
+ "learning_rate": 7.54514512859201e-05,
58
+ "loss": 0.0275,
59
  "step": 60
60
  },
61
  {
62
+ "epoch": 8.75,
63
+ "grad_norm": 0.11962890625,
64
+ "learning_rate": 4.530518418775733e-05,
65
+ "loss": 0.0112,
66
  "step": 70
67
  },
68
  {
69
+ "epoch": 10.0,
70
+ "grad_norm": 0.06787109375,
71
+ "learning_rate": 2.1085949060360654e-05,
72
+ "loss": 0.0078,
73
  "step": 80
74
  },
75
  {
76
+ "epoch": 11.25,
77
+ "grad_norm": 0.061767578125,
78
+ "learning_rate": 5.418275829936537e-06,
79
+ "loss": 0.0072,
80
  "step": 90
81
  },
82
  {
83
+ "epoch": 12.5,
84
+ "grad_norm": 0.0615234375,
85
+ "learning_rate": 0.0,
86
+ "loss": 0.007,
87
  "step": 100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  }
89
  ],
90
  "logging_steps": 10,
91
+ "max_steps": 100,
92
  "num_input_tokens_seen": 0,
93
+ "num_train_epochs": 13,
94
  "save_steps": 200,
95
  "stateful_callbacks": {
96
  "TrainerControl": {
 
99
  "should_evaluate": false,
100
  "should_log": false,
101
  "should_save": true,
102
+ "should_training_stop": true
103
  },
104
  "attributes": {}
105
  }
106
  },
107
+ "total_flos": 1.2203604110737408e+17,
108
+ "train_batch_size": 12,
109
  "trial_name": null,
110
  "trial_params": null
111
  }
last-checkpoint/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a62c95db7d808ffe6624a24b5b202f0f59342fc3d11220ea4577943c4efbf06e
3
- size 6776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:917005e54e6a74be4d5bc3c0309ff36483f7719e494b126c6cee70ee375d0421
3
+ size 7032