MHGanainy commited on
Commit
160302b
1 Parent(s): d03ebf5

MHGanainy/gpt2-xl-lora-ecthr-tf-idf-kmeans-imbalanced-uniform-cluster-8-id-5

Browse files
Files changed (5) hide show
  1. README.md +2 -0
  2. all_results.json +13 -0
  3. eval_results.json +8 -0
  4. train_results.json +8 -0
  5. trainer_state.json +280 -0
README.md CHANGED
@@ -15,6 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
15
  # gpt2-xl-lora-ecthr-tf-idf-kmeans-imbalanced-uniform-cluster-8-id-5
16
 
17
  This model is a fine-tuned version of [openai-community/gpt2-xl](https://huggingface.co/openai-community/gpt2-xl) on an unknown dataset.
 
 
18
 
19
  ## Model description
20
 
 
15
  # gpt2-xl-lora-ecthr-tf-idf-kmeans-imbalanced-uniform-cluster-8-id-5
16
 
17
  This model is a fine-tuned version of [openai-community/gpt2-xl](https://huggingface.co/openai-community/gpt2-xl) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.7896
20
 
21
  ## Model description
22
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 1.7895774841308594,
4
+ "eval_runtime": 35.1352,
5
+ "eval_samples_per_second": 22.143,
6
+ "eval_steps_per_second": 2.789,
7
+ "perplexity": 5.986922362210824,
8
+ "total_flos": 6.253123043328e+16,
9
+ "train_loss": 1.9996433352507346,
10
+ "train_runtime": 916.5503,
11
+ "train_samples_per_second": 7.491,
12
+ "train_steps_per_second": 3.746
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 1.7895774841308594,
4
+ "eval_runtime": 35.1352,
5
+ "eval_samples_per_second": 22.143,
6
+ "eval_steps_per_second": 2.789,
7
+ "perplexity": 5.986922362210824
8
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 6.253123043328e+16,
4
+ "train_loss": 1.9996433352507346,
5
+ "train_runtime": 916.5503,
6
+ "train_samples_per_second": 7.491,
7
+ "train_steps_per_second": 3.746
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3433,
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.029129041654529567,
13
+ "grad_norm": 0.13301080465316772,
14
+ "learning_rate": 2.0000000000000003e-06,
15
+ "loss": 2.4859,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.058258083309059135,
20
+ "grad_norm": 0.24819637835025787,
21
+ "learning_rate": 4.000000000000001e-06,
22
+ "loss": 2.5086,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.08738712496358869,
27
+ "grad_norm": 0.2222064584493637,
28
+ "learning_rate": 6e-06,
29
+ "loss": 2.4653,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.11651616661811827,
34
+ "grad_norm": 0.3736318349838257,
35
+ "learning_rate": 8.000000000000001e-06,
36
+ "loss": 2.3876,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.14564520827264782,
41
+ "grad_norm": 0.44497305154800415,
42
+ "learning_rate": 1e-05,
43
+ "loss": 2.3407,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 0.17477424992717738,
48
+ "grad_norm": 0.5166358351707458,
49
+ "learning_rate": 1.2e-05,
50
+ "loss": 2.2951,
51
+ "step": 600
52
+ },
53
+ {
54
+ "epoch": 0.20390329158170697,
55
+ "grad_norm": 0.5752297043800354,
56
+ "learning_rate": 1.4e-05,
57
+ "loss": 2.2502,
58
+ "step": 700
59
+ },
60
+ {
61
+ "epoch": 0.23303233323623654,
62
+ "grad_norm": 0.8210733532905579,
63
+ "learning_rate": 1.6000000000000003e-05,
64
+ "loss": 2.1539,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 0.2621613748907661,
69
+ "grad_norm": 0.9511260390281677,
70
+ "learning_rate": 1.8e-05,
71
+ "loss": 2.1106,
72
+ "step": 900
73
+ },
74
+ {
75
+ "epoch": 0.29129041654529564,
76
+ "grad_norm": 0.9485260248184204,
77
+ "learning_rate": 2e-05,
78
+ "loss": 2.0728,
79
+ "step": 1000
80
+ },
81
+ {
82
+ "epoch": 0.3204194581998252,
83
+ "grad_norm": 1.2509729862213135,
84
+ "learning_rate": 1.9916750424140173e-05,
85
+ "loss": 1.9686,
86
+ "step": 1100
87
+ },
88
+ {
89
+ "epoch": 0.34954849985435477,
90
+ "grad_norm": 1.201899766921997,
91
+ "learning_rate": 1.9668387794936857e-05,
92
+ "loss": 1.9571,
93
+ "step": 1200
94
+ },
95
+ {
96
+ "epoch": 0.37867754150888433,
97
+ "grad_norm": 1.625450849533081,
98
+ "learning_rate": 1.9259047329098173e-05,
99
+ "loss": 1.9467,
100
+ "step": 1300
101
+ },
102
+ {
103
+ "epoch": 0.40780658316341395,
104
+ "grad_norm": 1.0702261924743652,
105
+ "learning_rate": 1.869554451065679e-05,
106
+ "loss": 1.93,
107
+ "step": 1400
108
+ },
109
+ {
110
+ "epoch": 0.4369356248179435,
111
+ "grad_norm": 1.2770276069641113,
112
+ "learning_rate": 1.7987261613738918e-05,
113
+ "loss": 1.9,
114
+ "step": 1500
115
+ },
116
+ {
117
+ "epoch": 0.4660646664724731,
118
+ "grad_norm": 1.1146663427352905,
119
+ "learning_rate": 1.7145991488495997e-05,
120
+ "loss": 1.8802,
121
+ "step": 1600
122
+ },
123
+ {
124
+ "epoch": 0.49519370812700264,
125
+ "grad_norm": 1.2624766826629639,
126
+ "learning_rate": 1.618574121115003e-05,
127
+ "loss": 1.8791,
128
+ "step": 1700
129
+ },
130
+ {
131
+ "epoch": 0.5243227497815321,
132
+ "grad_norm": 1.325671672821045,
133
+ "learning_rate": 1.5122498867362679e-05,
134
+ "loss": 1.8353,
135
+ "step": 1800
136
+ },
137
+ {
138
+ "epoch": 0.5534517914360617,
139
+ "grad_norm": 1.1726603507995605,
140
+ "learning_rate": 1.397396735196525e-05,
141
+ "loss": 1.9057,
142
+ "step": 1900
143
+ },
144
+ {
145
+ "epoch": 0.5825808330905913,
146
+ "grad_norm": 1.0342259407043457,
147
+ "learning_rate": 1.2759269617261439e-05,
148
+ "loss": 1.8641,
149
+ "step": 2000
150
+ },
151
+ {
152
+ "epoch": 0.6117098747451208,
153
+ "grad_norm": 1.2554254531860352,
154
+ "learning_rate": 1.1498630277493646e-05,
155
+ "loss": 1.8813,
156
+ "step": 2100
157
+ },
158
+ {
159
+ "epoch": 0.6408389163996504,
160
+ "grad_norm": 1.3348976373672485,
161
+ "learning_rate": 1.0213038870731443e-05,
162
+ "loss": 1.8919,
163
+ "step": 2200
164
+ },
165
+ {
166
+ "epoch": 0.66996795805418,
167
+ "grad_norm": 1.320646047592163,
168
+ "learning_rate": 8.923900384843229e-06,
169
+ "loss": 1.8163,
170
+ "step": 2300
171
+ },
172
+ {
173
+ "epoch": 0.6990969997087095,
174
+ "grad_norm": 1.3995234966278076,
175
+ "learning_rate": 7.65267886626396e-06,
176
+ "loss": 1.8456,
177
+ "step": 2400
178
+ },
179
+ {
180
+ "epoch": 0.7282260413632391,
181
+ "grad_norm": 1.6419973373413086,
182
+ "learning_rate": 6.420540045442756e-06,
183
+ "loss": 1.8961,
184
+ "step": 2500
185
+ },
186
+ {
187
+ "epoch": 0.7573550830177687,
188
+ "grad_norm": 1.266167402267456,
189
+ "learning_rate": 5.247998929226381e-06,
190
+ "loss": 1.8257,
191
+ "step": 2600
192
+ },
193
+ {
194
+ "epoch": 0.7864841246722983,
195
+ "grad_norm": 1.2374173402786255,
196
+ "learning_rate": 4.154578227735479e-06,
197
+ "loss": 1.842,
198
+ "step": 2700
199
+ },
200
+ {
201
+ "epoch": 0.8156131663268279,
202
+ "grad_norm": 1.1420338153839111,
203
+ "learning_rate": 3.1584833028971385e-06,
204
+ "loss": 1.8826,
205
+ "step": 2800
206
+ },
207
+ {
208
+ "epoch": 0.8447422079813575,
209
+ "grad_norm": 1.4649367332458496,
210
+ "learning_rate": 2.276299050713151e-06,
211
+ "loss": 1.8156,
212
+ "step": 2900
213
+ },
214
+ {
215
+ "epoch": 0.873871249635887,
216
+ "grad_norm": 1.246354341506958,
217
+ "learning_rate": 1.522713764148417e-06,
218
+ "loss": 1.8338,
219
+ "step": 3000
220
+ },
221
+ {
222
+ "epoch": 0.9030002912904166,
223
+ "grad_norm": 1.3653801679611206,
224
+ "learning_rate": 9.102745742990871e-07,
225
+ "loss": 1.8364,
226
+ "step": 3100
227
+ },
228
+ {
229
+ "epoch": 0.9321293329449462,
230
+ "grad_norm": 1.972670555114746,
231
+ "learning_rate": 4.4917854172413567e-07,
232
+ "loss": 1.8059,
233
+ "step": 3200
234
+ },
235
+ {
236
+ "epoch": 0.9612583745994757,
237
+ "grad_norm": 1.2663543224334717,
238
+ "learning_rate": 1.4710287625206654e-07,
239
+ "loss": 1.8462,
240
+ "step": 3300
241
+ },
242
+ {
243
+ "epoch": 0.9903874162540053,
244
+ "grad_norm": 1.3993514776229858,
245
+ "learning_rate": 9.077112088505813e-09,
246
+ "loss": 1.8679,
247
+ "step": 3400
248
+ },
249
+ {
250
+ "epoch": 1.0,
251
+ "step": 3433,
252
+ "total_flos": 6.253123043328e+16,
253
+ "train_loss": 1.9996433352507346,
254
+ "train_runtime": 916.5503,
255
+ "train_samples_per_second": 7.491,
256
+ "train_steps_per_second": 3.746
257
+ }
258
+ ],
259
+ "logging_steps": 100,
260
+ "max_steps": 3433,
261
+ "num_input_tokens_seen": 0,
262
+ "num_train_epochs": 1,
263
+ "save_steps": 500,
264
+ "stateful_callbacks": {
265
+ "TrainerControl": {
266
+ "args": {
267
+ "should_epoch_stop": false,
268
+ "should_evaluate": false,
269
+ "should_log": false,
270
+ "should_save": true,
271
+ "should_training_stop": true
272
+ },
273
+ "attributes": {}
274
+ }
275
+ },
276
+ "total_flos": 6.253123043328e+16,
277
+ "train_batch_size": 2,
278
+ "trial_name": null,
279
+ "trial_params": null
280
+ }