MHGanainy/gpt2-xl-lora-ecthr-random-imbalanced-skewed-cluster-8-id-3
Browse files- README.md +2 -0
- all_results.json +13 -0
- eval_results.json +8 -0
- train_results.json +8 -0
- trainer_state.json +329 -0
README.md
CHANGED
@@ -15,6 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
# gpt2-xl-lora-ecthr-random-imbalanced-skewed-cluster-8-id-3
|
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-random-imbalanced-skewed-cluster-8-id-3
|
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.9684
|
20 |
|
21 |
## Model description
|
22 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.9683517217636108,
|
4 |
+
"eval_runtime": 30.1976,
|
5 |
+
"eval_samples_per_second": 22.088,
|
6 |
+
"eval_steps_per_second": 2.782,
|
7 |
+
"perplexity": 7.158866953723834,
|
8 |
+
"total_flos": 7.54868493877248e+16,
|
9 |
+
"train_loss": 2.153304632613963,
|
10 |
+
"train_runtime": 1112.8562,
|
11 |
+
"train_samples_per_second": 7.456,
|
12 |
+
"train_steps_per_second": 3.728
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.9683517217636108,
|
4 |
+
"eval_runtime": 30.1976,
|
5 |
+
"eval_samples_per_second": 22.088,
|
6 |
+
"eval_steps_per_second": 2.782,
|
7 |
+
"perplexity": 7.158866953723834
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 7.54868493877248e+16,
|
4 |
+
"train_loss": 2.153304632613963,
|
5 |
+
"train_runtime": 1112.8562,
|
6 |
+
"train_samples_per_second": 7.456,
|
7 |
+
"train_steps_per_second": 3.728
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,329 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 4149,
|
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.024102193299590263,
|
13 |
+
"grad_norm": 0.10564957559108734,
|
14 |
+
"learning_rate": 2.0000000000000003e-06,
|
15 |
+
"loss": 2.4343,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.048204386599180526,
|
20 |
+
"grad_norm": 0.12436462193727493,
|
21 |
+
"learning_rate": 4.000000000000001e-06,
|
22 |
+
"loss": 2.4331,
|
23 |
+
"step": 200
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.07230657989877079,
|
27 |
+
"grad_norm": 0.17909838259220123,
|
28 |
+
"learning_rate": 6e-06,
|
29 |
+
"loss": 2.4138,
|
30 |
+
"step": 300
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.09640877319836105,
|
34 |
+
"grad_norm": 0.2627304196357727,
|
35 |
+
"learning_rate": 8.000000000000001e-06,
|
36 |
+
"loss": 2.4152,
|
37 |
+
"step": 400
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.12051096649795132,
|
41 |
+
"grad_norm": 0.3407520651817322,
|
42 |
+
"learning_rate": 1e-05,
|
43 |
+
"loss": 2.3356,
|
44 |
+
"step": 500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.14461315979754158,
|
48 |
+
"grad_norm": 0.4051746428012848,
|
49 |
+
"learning_rate": 1.2e-05,
|
50 |
+
"loss": 2.2944,
|
51 |
+
"step": 600
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.16871535309713184,
|
55 |
+
"grad_norm": 0.4393845200538635,
|
56 |
+
"learning_rate": 1.4e-05,
|
57 |
+
"loss": 2.3165,
|
58 |
+
"step": 700
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.1928175463967221,
|
62 |
+
"grad_norm": 0.49629464745521545,
|
63 |
+
"learning_rate": 1.6000000000000003e-05,
|
64 |
+
"loss": 2.3161,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.21691973969631237,
|
69 |
+
"grad_norm": 0.5297220945358276,
|
70 |
+
"learning_rate": 1.8e-05,
|
71 |
+
"loss": 2.2482,
|
72 |
+
"step": 900
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.24102193299590263,
|
76 |
+
"grad_norm": 0.586216390132904,
|
77 |
+
"learning_rate": 2e-05,
|
78 |
+
"loss": 2.2301,
|
79 |
+
"step": 1000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.26512412629549287,
|
83 |
+
"grad_norm": 0.600564181804657,
|
84 |
+
"learning_rate": 1.9950276214176393e-05,
|
85 |
+
"loss": 2.1974,
|
86 |
+
"step": 1100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.28922631959508316,
|
90 |
+
"grad_norm": 0.6726705431938171,
|
91 |
+
"learning_rate": 1.9801599347680883e-05,
|
92 |
+
"loss": 2.187,
|
93 |
+
"step": 1200
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.3133285128946734,
|
97 |
+
"grad_norm": 0.618769109249115,
|
98 |
+
"learning_rate": 1.9555447955846792e-05,
|
99 |
+
"loss": 2.1867,
|
100 |
+
"step": 1300
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.3374307061942637,
|
104 |
+
"grad_norm": 0.7493981719017029,
|
105 |
+
"learning_rate": 1.921426995449166e-05,
|
106 |
+
"loss": 2.1705,
|
107 |
+
"step": 1400
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.3615328994938539,
|
111 |
+
"grad_norm": 0.8110669255256653,
|
112 |
+
"learning_rate": 1.8781458275988913e-05,
|
113 |
+
"loss": 2.174,
|
114 |
+
"step": 1500
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.3856350927934442,
|
118 |
+
"grad_norm": 0.7075093388557434,
|
119 |
+
"learning_rate": 1.826131712737932e-05,
|
120 |
+
"loss": 2.1311,
|
121 |
+
"step": 1600
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.40973728609303445,
|
125 |
+
"grad_norm": 0.7727652192115784,
|
126 |
+
"learning_rate": 1.7659019186077174e-05,
|
127 |
+
"loss": 2.1228,
|
128 |
+
"step": 1700
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.43383947939262474,
|
132 |
+
"grad_norm": 0.84642493724823,
|
133 |
+
"learning_rate": 1.6980554158849546e-05,
|
134 |
+
"loss": 2.1254,
|
135 |
+
"step": 1800
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.457941672692215,
|
139 |
+
"grad_norm": 0.855783998966217,
|
140 |
+
"learning_rate": 1.6232669215636963e-05,
|
141 |
+
"loss": 2.1079,
|
142 |
+
"step": 1900
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.48204386599180526,
|
146 |
+
"grad_norm": 0.7568260431289673,
|
147 |
+
"learning_rate": 1.5422801890586833e-05,
|
148 |
+
"loss": 2.0675,
|
149 |
+
"step": 2000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.5061460592913956,
|
153 |
+
"grad_norm": 1.03830885887146,
|
154 |
+
"learning_rate": 1.4559006117582424e-05,
|
155 |
+
"loss": 2.1163,
|
156 |
+
"step": 2100
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.5302482525909857,
|
160 |
+
"grad_norm": 1.3009450435638428,
|
161 |
+
"learning_rate": 1.3649872135826173e-05,
|
162 |
+
"loss": 2.1031,
|
163 |
+
"step": 2200
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.554350445890576,
|
167 |
+
"grad_norm": 0.9386299252510071,
|
168 |
+
"learning_rate": 1.2704441061996842e-05,
|
169 |
+
"loss": 2.0527,
|
170 |
+
"step": 2300
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.5784526391901663,
|
174 |
+
"grad_norm": 0.8045169115066528,
|
175 |
+
"learning_rate": 1.1732114978539648e-05,
|
176 |
+
"loss": 2.0772,
|
177 |
+
"step": 2400
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.6025548324897566,
|
181 |
+
"grad_norm": 0.8329111933708191,
|
182 |
+
"learning_rate": 1.0742563432239503e-05,
|
183 |
+
"loss": 2.0947,
|
184 |
+
"step": 2500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.6266570257893468,
|
188 |
+
"grad_norm": 0.9610249996185303,
|
189 |
+
"learning_rate": 9.745627272926332e-06,
|
190 |
+
"loss": 2.0799,
|
191 |
+
"step": 2600
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.6507592190889371,
|
195 |
+
"grad_norm": 0.8086296319961548,
|
196 |
+
"learning_rate": 8.751220788613237e-06,
|
197 |
+
"loss": 2.0669,
|
198 |
+
"step": 2700
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.6748614123885274,
|
202 |
+
"grad_norm": 0.8295447826385498,
|
203 |
+
"learning_rate": 7.769233110309735e-06,
|
204 |
+
"loss": 2.0666,
|
205 |
+
"step": 2800
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.6989636056881177,
|
209 |
+
"grad_norm": 0.796343982219696,
|
210 |
+
"learning_rate": 6.809429867015307e-06,
|
211 |
+
"loss": 2.125,
|
212 |
+
"step": 2900
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.7230657989877078,
|
216 |
+
"grad_norm": 0.9749905467033386,
|
217 |
+
"learning_rate": 5.881356068910429e-06,
|
218 |
+
"loss": 2.0724,
|
219 |
+
"step": 3000
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.7471679922872981,
|
223 |
+
"grad_norm": 1.090606689453125,
|
224 |
+
"learning_rate": 4.994241184548192e-06,
|
225 |
+
"loss": 2.0116,
|
226 |
+
"step": 3100
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.7712701855868884,
|
230 |
+
"grad_norm": 1.000171422958374,
|
231 |
+
"learning_rate": 4.1569073560307905e-06,
|
232 |
+
"loss": 2.0562,
|
233 |
+
"step": 3200
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.7953723788864787,
|
237 |
+
"grad_norm": 0.9586558938026428,
|
238 |
+
"learning_rate": 3.3776816649486378e-06,
|
239 |
+
"loss": 2.0545,
|
240 |
+
"step": 3300
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 0.8194745721860689,
|
244 |
+
"grad_norm": 0.949877917766571,
|
245 |
+
"learning_rate": 2.6643133215760586e-06,
|
246 |
+
"loss": 2.0571,
|
247 |
+
"step": 3400
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 0.8435767654856592,
|
251 |
+
"grad_norm": 0.9553411602973938,
|
252 |
+
"learning_rate": 2.0238966008568905e-06,
|
253 |
+
"loss": 2.027,
|
254 |
+
"step": 3500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.8676789587852495,
|
258 |
+
"grad_norm": 0.9195176959037781,
|
259 |
+
"learning_rate": 1.4628002915629202e-06,
|
260 |
+
"loss": 2.0751,
|
261 |
+
"step": 3600
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 0.8917811520848398,
|
265 |
+
"grad_norm": 0.9022210836410522,
|
266 |
+
"learning_rate": 9.866043602360909e-07,
|
267 |
+
"loss": 2.0573,
|
268 |
+
"step": 3700
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 0.91588334538443,
|
272 |
+
"grad_norm": 0.7705771923065186,
|
273 |
+
"learning_rate": 6.000444597762811e-07,
|
274 |
+
"loss": 2.06,
|
275 |
+
"step": 3800
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 0.9399855386840202,
|
279 |
+
"grad_norm": 1.009355902671814,
|
280 |
+
"learning_rate": 3.069648345231813e-07,
|
281 |
+
"loss": 2.0263,
|
282 |
+
"step": 3900
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 0.9640877319836105,
|
286 |
+
"grad_norm": 0.9817578196525574,
|
287 |
+
"learning_rate": 1.1028009017986174e-07,
|
288 |
+
"loss": 2.0777,
|
289 |
+
"step": 4000
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 0.9881899252832008,
|
293 |
+
"grad_norm": 1.0477696657180786,
|
294 |
+
"learning_rate": 1.1946208766822066e-08,
|
295 |
+
"loss": 2.0764,
|
296 |
+
"step": 4100
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 1.0,
|
300 |
+
"step": 4149,
|
301 |
+
"total_flos": 7.54868493877248e+16,
|
302 |
+
"train_loss": 2.153304632613963,
|
303 |
+
"train_runtime": 1112.8562,
|
304 |
+
"train_samples_per_second": 7.456,
|
305 |
+
"train_steps_per_second": 3.728
|
306 |
+
}
|
307 |
+
],
|
308 |
+
"logging_steps": 100,
|
309 |
+
"max_steps": 4149,
|
310 |
+
"num_input_tokens_seen": 0,
|
311 |
+
"num_train_epochs": 1,
|
312 |
+
"save_steps": 500,
|
313 |
+
"stateful_callbacks": {
|
314 |
+
"TrainerControl": {
|
315 |
+
"args": {
|
316 |
+
"should_epoch_stop": false,
|
317 |
+
"should_evaluate": false,
|
318 |
+
"should_log": false,
|
319 |
+
"should_save": true,
|
320 |
+
"should_training_stop": true
|
321 |
+
},
|
322 |
+
"attributes": {}
|
323 |
+
}
|
324 |
+
},
|
325 |
+
"total_flos": 7.54868493877248e+16,
|
326 |
+
"train_batch_size": 2,
|
327 |
+
"trial_name": null,
|
328 |
+
"trial_params": null
|
329 |
+
}
|