anezatra commited on
Commit
96433b9
1 Parent(s): 5712c69

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[PAD]": 40478
3
+ }
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai-gpt",
3
+ "afn": "gelu",
4
+ "architectures": [
5
+ "OpenAIGPTLMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "embd_pdrop": 0.1,
9
+ "initializer_range": 0.02,
10
+ "layer_norm_epsilon": 1e-05,
11
+ "model_type": "openai-gpt",
12
+ "n_ctx": 512,
13
+ "n_embd": 768,
14
+ "n_head": 12,
15
+ "n_layer": 12,
16
+ "n_positions": 512,
17
+ "n_special": 0,
18
+ "predict_special_tokens": true,
19
+ "resid_pdrop": 0.1,
20
+ "summary_activation": null,
21
+ "summary_first_dropout": 0.1,
22
+ "summary_proj_to_labels": true,
23
+ "summary_type": "cls_index",
24
+ "summary_use_proj": true,
25
+ "task_specific_params": {
26
+ "text-generation": {
27
+ "do_sample": true,
28
+ "max_length": 50
29
+ }
30
+ },
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.41.0",
33
+ "vocab_size": 40479
34
+ }
generation_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "transformers_version": "4.41.0"
4
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a623296f37ef92157346ba4072d9112bd86a033754ada6403c22ff9257e44b1
3
+ size 466157024
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1d1bd69dce8f925906edebc2826a80314e8e900add53008428adf4bb9899b93
3
+ size 932406586
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff742f5af1abba3c3ee69d8a95d215038015094cb69c573659d55ed2b9c006c6
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9730efe130fac29060312bc9080ab7d5b80c415513ceb2b09cbd4923fcf86579
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pad_token": {
3
+ "content": "[PAD]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "unk_token": "<unk>"
10
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "40478": {
12
+ "content": "[PAD]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ }
19
+ },
20
+ "clean_up_tokenization_spaces": true,
21
+ "model_max_length": 512,
22
+ "pad_token": "[PAD]",
23
+ "tokenizer_class": "OpenAIGPTTokenizer",
24
+ "unk_token": "<unk>"
25
+ }
trainer_state.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 49.31506849315068,
5
+ "eval_steps": 400,
6
+ "global_step": 14400,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.7123287671232876,
13
+ "grad_norm": 2.024919271469116,
14
+ "learning_rate": 5e-05,
15
+ "loss": 3.8492,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 3.4246575342465753,
20
+ "grad_norm": 1.7762272357940674,
21
+ "learning_rate": 4.6973365617433416e-05,
22
+ "loss": 3.104,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 5.136986301369863,
27
+ "grad_norm": 1.9453787803649902,
28
+ "learning_rate": 4.394673123486683e-05,
29
+ "loss": 2.7752,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 6.8493150684931505,
34
+ "grad_norm": 1.9978324174880981,
35
+ "learning_rate": 4.092009685230024e-05,
36
+ "loss": 2.5478,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 8.561643835616438,
41
+ "grad_norm": 1.8244125843048096,
42
+ "learning_rate": 3.789346246973366e-05,
43
+ "loss": 2.3579,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 10.273972602739725,
48
+ "grad_norm": 2.0865862369537354,
49
+ "learning_rate": 3.486682808716707e-05,
50
+ "loss": 2.2151,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 11.986301369863014,
55
+ "grad_norm": 2.022252321243286,
56
+ "learning_rate": 3.184019370460048e-05,
57
+ "loss": 2.0783,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 13.698630136986301,
62
+ "grad_norm": 2.030592918395996,
63
+ "learning_rate": 2.88135593220339e-05,
64
+ "loss": 1.9546,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 15.41095890410959,
69
+ "grad_norm": 2.101133346557617,
70
+ "learning_rate": 2.5786924939467316e-05,
71
+ "loss": 1.8636,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 17.123287671232877,
76
+ "grad_norm": 2.0378260612487793,
77
+ "learning_rate": 2.2760290556900726e-05,
78
+ "loss": 1.7814,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 18.835616438356166,
83
+ "grad_norm": 2.2219014167785645,
84
+ "learning_rate": 1.9733656174334143e-05,
85
+ "loss": 1.7052,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 20.54794520547945,
90
+ "grad_norm": 2.211897373199463,
91
+ "learning_rate": 1.6707021791767556e-05,
92
+ "loss": 1.6337,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 22.26027397260274,
97
+ "grad_norm": 2.0061228275299072,
98
+ "learning_rate": 1.3680387409200971e-05,
99
+ "loss": 1.5842,
100
+ "step": 6500
101
+ },
102
+ {
103
+ "epoch": 23.972602739726028,
104
+ "grad_norm": 2.1824605464935303,
105
+ "learning_rate": 1.0653753026634383e-05,
106
+ "loss": 1.544,
107
+ "step": 7000
108
+ },
109
+ {
110
+ "epoch": 25.684931506849313,
111
+ "grad_norm": 2.1209356784820557,
112
+ "learning_rate": 7.627118644067798e-06,
113
+ "loss": 1.5001,
114
+ "step": 7500
115
+ },
116
+ {
117
+ "epoch": 27.397260273972602,
118
+ "grad_norm": 2.1307101249694824,
119
+ "learning_rate": 4.600484261501211e-06,
120
+ "loss": 1.4742,
121
+ "step": 8000
122
+ },
123
+ {
124
+ "epoch": 29.10958904109589,
125
+ "grad_norm": 2.0766286849975586,
126
+ "learning_rate": 1.5738498789346248e-06,
127
+ "loss": 1.4553,
128
+ "step": 8500
129
+ },
130
+ {
131
+ "epoch": 30.82191780821918,
132
+ "grad_norm": 2.4918978214263916,
133
+ "learning_rate": 1.9858156028368796e-05,
134
+ "loss": 1.6283,
135
+ "step": 9000
136
+ },
137
+ {
138
+ "epoch": 32.534246575342465,
139
+ "grad_norm": 2.147444725036621,
140
+ "learning_rate": 1.8085106382978724e-05,
141
+ "loss": 1.5809,
142
+ "step": 9500
143
+ },
144
+ {
145
+ "epoch": 34.24657534246575,
146
+ "grad_norm": 2.2365379333496094,
147
+ "learning_rate": 1.6312056737588656e-05,
148
+ "loss": 1.5219,
149
+ "step": 10000
150
+ },
151
+ {
152
+ "epoch": 35.95890410958904,
153
+ "grad_norm": 2.2686374187469482,
154
+ "learning_rate": 1.4539007092198581e-05,
155
+ "loss": 1.4767,
156
+ "step": 10500
157
+ },
158
+ {
159
+ "epoch": 37.67123287671233,
160
+ "grad_norm": 2.2740468978881836,
161
+ "learning_rate": 1.2765957446808511e-05,
162
+ "loss": 1.4248,
163
+ "step": 11000
164
+ },
165
+ {
166
+ "epoch": 39.38356164383562,
167
+ "grad_norm": 2.060163736343384,
168
+ "learning_rate": 1.0992907801418441e-05,
169
+ "loss": 1.3853,
170
+ "step": 11500
171
+ },
172
+ {
173
+ "epoch": 41.0958904109589,
174
+ "grad_norm": 2.2763679027557373,
175
+ "learning_rate": 9.219858156028368e-06,
176
+ "loss": 1.3555,
177
+ "step": 12000
178
+ },
179
+ {
180
+ "epoch": 42.80821917808219,
181
+ "grad_norm": 2.2008297443389893,
182
+ "learning_rate": 7.446808510638298e-06,
183
+ "loss": 1.3242,
184
+ "step": 12500
185
+ },
186
+ {
187
+ "epoch": 44.52054794520548,
188
+ "grad_norm": 2.5200419425964355,
189
+ "learning_rate": 5.673758865248227e-06,
190
+ "loss": 1.3008,
191
+ "step": 13000
192
+ },
193
+ {
194
+ "epoch": 46.23287671232877,
195
+ "grad_norm": 2.2964625358581543,
196
+ "learning_rate": 3.9007092198581565e-06,
197
+ "loss": 1.2794,
198
+ "step": 13500
199
+ },
200
+ {
201
+ "epoch": 47.945205479452056,
202
+ "grad_norm": 2.3451294898986816,
203
+ "learning_rate": 2.1276595744680853e-06,
204
+ "loss": 1.2691,
205
+ "step": 14000
206
+ }
207
+ ],
208
+ "logging_steps": 500,
209
+ "max_steps": 14600,
210
+ "num_input_tokens_seen": 0,
211
+ "num_train_epochs": 50,
212
+ "save_steps": 200,
213
+ "stateful_callbacks": {
214
+ "TrainerControl": {
215
+ "args": {
216
+ "should_epoch_stop": false,
217
+ "should_evaluate": false,
218
+ "should_log": false,
219
+ "should_save": true,
220
+ "should_training_stop": false
221
+ },
222
+ "attributes": {}
223
+ }
224
+ },
225
+ "total_flos": 3.0045885421584384e+16,
226
+ "train_batch_size": 32,
227
+ "trial_name": null,
228
+ "trial_params": null
229
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ab0f186fac98c9c73648bdf84d58aa43a06e3b1e700ca558f8659f6bf9253b1
3
+ size 5048
vocab.json ADDED
The diff for this file is too large to render. See raw diff