eqhylxx commited on
Commit
2caf4a8
1 Parent(s): fd3d532

first commit

Browse files
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "JackFram/llama-160m",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "max_position_embeddings": 2048,
13
+ "model_type": "llama",
14
+ "num_attention_heads": 12,
15
+ "num_hidden_layers": 12,
16
+ "num_key_value_heads": 12,
17
+ "pad_token_id": 1,
18
+ "pretraining_tp": 1,
19
+ "rms_norm_eps": 1e-06,
20
+ "rope_scaling": null,
21
+ "rope_theta": 10000.0,
22
+ "tie_word_embeddings": false,
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.33.2",
25
+ "use_cache": true,
26
+ "vocab_size": 32000
27
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.33.2"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00bb426ca13f282dadb75eb36fab59f6fa5b1397add550ef7ad48fdb7a63d6e0
3
+ size 649705097
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "clean_up_tokenization_spaces": false,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "legacy": null,
22
+ "model_max_length": 2048,
23
+ "pad_token": null,
24
+ "padding_side": "right",
25
+ "sp_model_kwargs": {},
26
+ "spaces_between_special_tokens": false,
27
+ "tokenizer_class": "LlamaTokenizer",
28
+ "unk_token": {
29
+ "__type": "AddedToken",
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": true,
33
+ "rstrip": false,
34
+ "single_word": false
35
+ },
36
+ "use_default_system_prompt": true,
37
+ "use_fast": true
38
+ }
trainer_state.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.92,
5
+ "eval_steps": 500,
6
+ "global_step": 36,
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.05,
13
+ "learning_rate": 1e-05,
14
+ "loss": 3.0296,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.11,
19
+ "learning_rate": 2e-05,
20
+ "loss": 3.0742,
21
+ "step": 2
22
+ },
23
+ {
24
+ "epoch": 0.16,
25
+ "learning_rate": 1.9957341762950346e-05,
26
+ "loss": 2.8934,
27
+ "step": 3
28
+ },
29
+ {
30
+ "epoch": 0.21,
31
+ "learning_rate": 1.982973099683902e-05,
32
+ "loss": 2.6232,
33
+ "step": 4
34
+ },
35
+ {
36
+ "epoch": 0.27,
37
+ "learning_rate": 1.961825643172819e-05,
38
+ "loss": 2.702,
39
+ "step": 5
40
+ },
41
+ {
42
+ "epoch": 0.32,
43
+ "learning_rate": 1.932472229404356e-05,
44
+ "loss": 2.6369,
45
+ "step": 6
46
+ },
47
+ {
48
+ "epoch": 0.37,
49
+ "learning_rate": 1.8951632913550625e-05,
50
+ "loss": 2.3979,
51
+ "step": 7
52
+ },
53
+ {
54
+ "epoch": 0.43,
55
+ "learning_rate": 1.8502171357296144e-05,
56
+ "loss": 2.4416,
57
+ "step": 8
58
+ },
59
+ {
60
+ "epoch": 0.48,
61
+ "learning_rate": 1.7980172272802398e-05,
62
+ "loss": 2.4504,
63
+ "step": 9
64
+ },
65
+ {
66
+ "epoch": 0.53,
67
+ "learning_rate": 1.7390089172206594e-05,
68
+ "loss": 2.3466,
69
+ "step": 10
70
+ },
71
+ {
72
+ "epoch": 0.59,
73
+ "learning_rate": 1.6736956436465573e-05,
74
+ "loss": 2.1911,
75
+ "step": 11
76
+ },
77
+ {
78
+ "epoch": 0.64,
79
+ "learning_rate": 1.6026346363792565e-05,
80
+ "loss": 2.1612,
81
+ "step": 12
82
+ },
83
+ {
84
+ "epoch": 0.69,
85
+ "learning_rate": 1.526432162877356e-05,
86
+ "loss": 2.3012,
87
+ "step": 13
88
+ },
89
+ {
90
+ "epoch": 0.75,
91
+ "learning_rate": 1.4457383557765385e-05,
92
+ "loss": 2.1788,
93
+ "step": 14
94
+ },
95
+ {
96
+ "epoch": 0.8,
97
+ "learning_rate": 1.3612416661871532e-05,
98
+ "loss": 1.9259,
99
+ "step": 15
100
+ },
101
+ {
102
+ "epoch": 0.85,
103
+ "learning_rate": 1.2736629900720832e-05,
104
+ "loss": 2.0095,
105
+ "step": 16
106
+ },
107
+ {
108
+ "epoch": 0.91,
109
+ "learning_rate": 1.1837495178165706e-05,
110
+ "loss": 2.0258,
111
+ "step": 17
112
+ },
113
+ {
114
+ "epoch": 0.96,
115
+ "learning_rate": 1.092268359463302e-05,
116
+ "loss": 2.1327,
117
+ "step": 18
118
+ },
119
+ {
120
+ "epoch": 1.01,
121
+ "learning_rate": 1e-05,
122
+ "loss": 1.9709,
123
+ "step": 19
124
+ },
125
+ {
126
+ "epoch": 1.07,
127
+ "learning_rate": 9.07731640536698e-06,
128
+ "loss": 2.0154,
129
+ "step": 20
130
+ },
131
+ {
132
+ "epoch": 1.12,
133
+ "learning_rate": 8.162504821834296e-06,
134
+ "loss": 1.9757,
135
+ "step": 21
136
+ },
137
+ {
138
+ "epoch": 1.17,
139
+ "learning_rate": 7.263370099279173e-06,
140
+ "loss": 2.041,
141
+ "step": 22
142
+ },
143
+ {
144
+ "epoch": 1.23,
145
+ "learning_rate": 6.387583338128471e-06,
146
+ "loss": 1.979,
147
+ "step": 23
148
+ },
149
+ {
150
+ "epoch": 1.28,
151
+ "learning_rate": 5.542616442234618e-06,
152
+ "loss": 1.864,
153
+ "step": 24
154
+ },
155
+ {
156
+ "epoch": 1.33,
157
+ "learning_rate": 4.7356783712264405e-06,
158
+ "loss": 1.7513,
159
+ "step": 25
160
+ },
161
+ {
162
+ "epoch": 1.39,
163
+ "learning_rate": 3.973653636207437e-06,
164
+ "loss": 1.9203,
165
+ "step": 26
166
+ },
167
+ {
168
+ "epoch": 1.44,
169
+ "learning_rate": 3.2630435635344283e-06,
170
+ "loss": 1.7979,
171
+ "step": 27
172
+ },
173
+ {
174
+ "epoch": 1.49,
175
+ "learning_rate": 2.6099108277934105e-06,
176
+ "loss": 1.7382,
177
+ "step": 28
178
+ },
179
+ {
180
+ "epoch": 1.55,
181
+ "learning_rate": 2.019827727197605e-06,
182
+ "loss": 1.8576,
183
+ "step": 29
184
+ },
185
+ {
186
+ "epoch": 1.6,
187
+ "learning_rate": 1.4978286427038602e-06,
188
+ "loss": 1.8706,
189
+ "step": 30
190
+ },
191
+ {
192
+ "epoch": 1.65,
193
+ "learning_rate": 1.0483670864493777e-06,
194
+ "loss": 1.7878,
195
+ "step": 31
196
+ },
197
+ {
198
+ "epoch": 1.71,
199
+ "learning_rate": 6.752777059564431e-07,
200
+ "loss": 1.8523,
201
+ "step": 32
202
+ },
203
+ {
204
+ "epoch": 1.76,
205
+ "learning_rate": 3.817435682718096e-07,
206
+ "loss": 1.8966,
207
+ "step": 33
208
+ },
209
+ {
210
+ "epoch": 1.81,
211
+ "learning_rate": 1.7026900316098217e-07,
212
+ "loss": 1.8256,
213
+ "step": 34
214
+ },
215
+ {
216
+ "epoch": 1.87,
217
+ "learning_rate": 4.2658237049655325e-08,
218
+ "loss": 1.8652,
219
+ "step": 35
220
+ },
221
+ {
222
+ "epoch": 1.92,
223
+ "learning_rate": 0.0,
224
+ "loss": 1.9459,
225
+ "step": 36
226
+ },
227
+ {
228
+ "epoch": 1.92,
229
+ "step": 36,
230
+ "total_flos": 7805008380690432.0,
231
+ "train_loss": 2.152141014734904,
232
+ "train_runtime": 364.8773,
233
+ "train_samples_per_second": 13.155,
234
+ "train_steps_per_second": 0.099
235
+ }
236
+ ],
237
+ "logging_steps": 1.0,
238
+ "max_steps": 36,
239
+ "num_train_epochs": 2,
240
+ "save_steps": 1000,
241
+ "total_flos": 7805008380690432.0,
242
+ "trial_name": null,
243
+ "trial_params": null
244
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8541483038d96c8279b41adf8633fa1f27b30ec128b380b694ce1dc760112686
3
+ size 4027