AlekseyKorshuk
commited on
Commit
·
fef87f9
1
Parent(s):
d96db53
huggingartists
Browse files- README.md +3 -3
- config.json +1 -1
- evaluation.txt +1 -1
- flax_model.msgpack +1 -1
- optimizer.pt +2 -2
- pytorch_model.bin +1 -1
- rng_state.pth +2 -2
- scheduler.pt +1 -1
- tokenizer_config.json +1 -1
- trainer_state.json +239 -7
- training_args.bin +2 -2
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/boris-grebenshikov")
|
46 |
```
|
47 |
|
48 |
-
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/
|
49 |
|
50 |
## Training procedure
|
51 |
|
52 |
The model is based on a pre-trained [GPT-2](https://huggingface.co/gpt2) which is fine-tuned on Борис Гребенщиков (Boris Grebenshikov)'s lyrics.
|
53 |
|
54 |
-
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/
|
55 |
|
56 |
-
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/
|
57 |
|
58 |
## How to use
|
59 |
|
|
|
45 |
dataset = load_dataset("huggingartists/boris-grebenshikov")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/2r073xb9/artifacts), which is tracked with [W&B artifacts](https://docs.wandb.com/artifacts) at every step of the pipeline.
|
49 |
|
50 |
## Training procedure
|
51 |
|
52 |
The model is based on a pre-trained [GPT-2](https://huggingface.co/gpt2) which is fine-tuned on Борис Гребенщиков (Boris Grebenshikov)'s lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/1crr7kfj) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/1crr7kfj/artifacts) is logged and versioned.
|
57 |
|
58 |
## How to use
|
59 |
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "huggingartists/boris-grebenshikov",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 1.
|
|
|
1 |
+
{"eval_loss": 1.7017050981521606, "eval_runtime": 10.4031, "eval_samples_per_second": 21.916, "eval_steps_per_second": 2.788, "epoch": 2.0}
|
flax_model.msgpack
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497764120
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4caf1777217e0c052ac94bcbeca458605d7be5f6d3bc748e776565bc142dc42e
|
3 |
size 497764120
|
optimizer.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96d9aef799951a3d3c5d3a2ed572f49f197e45f0dcd10dae5417b75b54419805
|
3 |
+
size 995604017
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 510403817
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6c2602caf4839e464970f374187b18adcfa27e0d6a45c9600bd1c38b30141b9
|
3 |
size 510403817
|
rng_state.pth
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa2e4cc4de77dfbc81bb3c499c062d1ba2bdbc2ed6f970ac39c58f271b8d2a5f
|
3 |
+
size 14503
|
scheduler.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 623
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7613c90c6af68cbcc9693f8cef8467997ccd45f7eec064cfce1c9281a578f4fe
|
3 |
size 623
|
tokenizer_config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "
|
|
|
1 |
+
{"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "huggingartists/boris-grebenshikov", "tokenizer_class": "GPT2Tokenizer"}
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 1.
|
3 |
-
"best_model_checkpoint": "output/boris-grebenshikov/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -212,11 +212,243 @@
|
|
212 |
"eval_samples_per_second": 22.279,
|
213 |
"eval_steps_per_second": 2.85,
|
214 |
"step": 169
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
}
|
216 |
],
|
217 |
-
"max_steps":
|
218 |
-
"num_train_epochs":
|
219 |
-
"total_flos":
|
220 |
"trial_name": null,
|
221 |
"trial_params": null
|
222 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 1.7017050981521606,
|
3 |
+
"best_model_checkpoint": "output/boris-grebenshikov/checkpoint-346",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 346,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
212 |
"eval_samples_per_second": 22.279,
|
213 |
"eval_steps_per_second": 2.85,
|
214 |
"step": 169
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"epoch": 0.98,
|
218 |
+
"learning_rate": 1.0177397892100256e-07,
|
219 |
+
"loss": 1.9274,
|
220 |
+
"step": 170
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"epoch": 1.0,
|
224 |
+
"eval_loss": 1.744057536125183,
|
225 |
+
"eval_runtime": 10.1523,
|
226 |
+
"eval_samples_per_second": 22.458,
|
227 |
+
"eval_steps_per_second": 2.856,
|
228 |
+
"step": 173
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 1.01,
|
232 |
+
"learning_rate": 4.523909530405488e-08,
|
233 |
+
"loss": 1.937,
|
234 |
+
"step": 175
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 1.04,
|
238 |
+
"learning_rate": 5.534939285797931e-07,
|
239 |
+
"loss": 1.8799,
|
240 |
+
"step": 180
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 1.07,
|
244 |
+
"learning_rate": 1.622351211524088e-06,
|
245 |
+
"loss": 1.8935,
|
246 |
+
"step": 185
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"epoch": 1.1,
|
250 |
+
"learning_rate": 3.243005142843674e-06,
|
251 |
+
"loss": 1.873,
|
252 |
+
"step": 190
|
253 |
+
},
|
254 |
+
{
|
255 |
+
"epoch": 1.13,
|
256 |
+
"learning_rate": 5.402103933939619e-06,
|
257 |
+
"loss": 1.8993,
|
258 |
+
"step": 195
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 1.16,
|
262 |
+
"learning_rate": 8.081859807874568e-06,
|
263 |
+
"loss": 1.9433,
|
264 |
+
"step": 200
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 1.18,
|
268 |
+
"learning_rate": 1.1260195544315306e-05,
|
269 |
+
"loss": 1.8802,
|
270 |
+
"step": 205
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"epoch": 1.21,
|
274 |
+
"learning_rate": 1.491092636313743e-05,
|
275 |
+
"loss": 1.9911,
|
276 |
+
"step": 210
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 1.24,
|
280 |
+
"learning_rate": 1.90039756482401e-05,
|
281 |
+
"loss": 1.9398,
|
282 |
+
"step": 215
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 1.27,
|
286 |
+
"learning_rate": 2.350562273432663e-05,
|
287 |
+
"loss": 1.7847,
|
288 |
+
"step": 220
|
289 |
+
},
|
290 |
+
{
|
291 |
+
"epoch": 1.3,
|
292 |
+
"learning_rate": 2.8378780715254437e-05,
|
293 |
+
"loss": 1.8382,
|
294 |
+
"step": 225
|
295 |
+
},
|
296 |
+
{
|
297 |
+
"epoch": 1.33,
|
298 |
+
"learning_rate": 3.358330198522479e-05,
|
299 |
+
"loss": 1.9425,
|
300 |
+
"step": 230
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"epoch": 1.36,
|
304 |
+
"learning_rate": 3.907630899560607e-05,
|
305 |
+
"loss": 1.9129,
|
306 |
+
"step": 235
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 1.39,
|
310 |
+
"learning_rate": 4.4812547502442855e-05,
|
311 |
+
"loss": 1.8725,
|
312 |
+
"step": 240
|
313 |
+
},
|
314 |
+
{
|
315 |
+
"epoch": 1.42,
|
316 |
+
"learning_rate": 5.0744759394415807e-05,
|
317 |
+
"loss": 1.9258,
|
318 |
+
"step": 245
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"epoch": 1.45,
|
322 |
+
"learning_rate": 5.682407202970108e-05,
|
323 |
+
"loss": 1.8416,
|
324 |
+
"step": 250
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 1.47,
|
328 |
+
"learning_rate": 6.300040087417042e-05,
|
329 |
+
"loss": 1.8097,
|
330 |
+
"step": 255
|
331 |
+
},
|
332 |
+
{
|
333 |
+
"epoch": 1.5,
|
334 |
+
"learning_rate": 6.922286212378929e-05,
|
335 |
+
"loss": 1.8724,
|
336 |
+
"step": 260
|
337 |
+
},
|
338 |
+
{
|
339 |
+
"epoch": 1.53,
|
340 |
+
"learning_rate": 7.544019191181583e-05,
|
341 |
+
"loss": 1.8985,
|
342 |
+
"step": 265
|
343 |
+
},
|
344 |
+
{
|
345 |
+
"epoch": 1.56,
|
346 |
+
"learning_rate": 8.160116864715307e-05,
|
347 |
+
"loss": 1.877,
|
348 |
+
"step": 270
|
349 |
+
},
|
350 |
+
{
|
351 |
+
"epoch": 1.59,
|
352 |
+
"learning_rate": 8.765503500441301e-05,
|
353 |
+
"loss": 1.8627,
|
354 |
+
"step": 275
|
355 |
+
},
|
356 |
+
{
|
357 |
+
"epoch": 1.62,
|
358 |
+
"learning_rate": 9.35519160891186e-05,
|
359 |
+
"loss": 1.7856,
|
360 |
+
"step": 280
|
361 |
+
},
|
362 |
+
{
|
363 |
+
"epoch": 1.65,
|
364 |
+
"learning_rate": 9.92432303329815e-05,
|
365 |
+
"loss": 1.8525,
|
366 |
+
"step": 285
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 1.68,
|
370 |
+
"learning_rate": 0.00010468208973408737,
|
371 |
+
"loss": 1.9036,
|
372 |
+
"step": 290
|
373 |
+
},
|
374 |
+
{
|
375 |
+
"epoch": 1.71,
|
376 |
+
"learning_rate": 0.00010982368614460176,
|
377 |
+
"loss": 1.8999,
|
378 |
+
"step": 295
|
379 |
+
},
|
380 |
+
{
|
381 |
+
"epoch": 1.73,
|
382 |
+
"learning_rate": 0.00011462566042355846,
|
383 |
+
"loss": 1.866,
|
384 |
+
"step": 300
|
385 |
+
},
|
386 |
+
{
|
387 |
+
"epoch": 1.76,
|
388 |
+
"learning_rate": 0.00011904845141345724,
|
389 |
+
"loss": 1.9433,
|
390 |
+
"step": 305
|
391 |
+
},
|
392 |
+
{
|
393 |
+
"epoch": 1.79,
|
394 |
+
"learning_rate": 0.00012305562186562137,
|
395 |
+
"loss": 1.8415,
|
396 |
+
"step": 310
|
397 |
+
},
|
398 |
+
{
|
399 |
+
"epoch": 1.82,
|
400 |
+
"learning_rate": 0.0001266141586291718,
|
401 |
+
"loss": 1.8489,
|
402 |
+
"step": 315
|
403 |
+
},
|
404 |
+
{
|
405 |
+
"epoch": 1.85,
|
406 |
+
"learning_rate": 0.00012969474463050626,
|
407 |
+
"loss": 1.7954,
|
408 |
+
"step": 320
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 1.88,
|
412 |
+
"learning_rate": 0.00013227200040257384,
|
413 |
+
"loss": 1.8456,
|
414 |
+
"step": 325
|
415 |
+
},
|
416 |
+
{
|
417 |
+
"epoch": 1.91,
|
418 |
+
"learning_rate": 0.000134324693174103,
|
419 |
+
"loss": 1.8414,
|
420 |
+
"step": 330
|
421 |
+
},
|
422 |
+
{
|
423 |
+
"epoch": 1.94,
|
424 |
+
"learning_rate": 0.00013583591179619617,
|
425 |
+
"loss": 1.8602,
|
426 |
+
"step": 335
|
427 |
+
},
|
428 |
+
{
|
429 |
+
"epoch": 1.97,
|
430 |
+
"learning_rate": 0.00013679320606515522,
|
431 |
+
"loss": 1.8914,
|
432 |
+
"step": 340
|
433 |
+
},
|
434 |
+
{
|
435 |
+
"epoch": 1.99,
|
436 |
+
"learning_rate": 0.00013718868929372445,
|
437 |
+
"loss": 1.7701,
|
438 |
+
"step": 345
|
439 |
+
},
|
440 |
+
{
|
441 |
+
"epoch": 2.0,
|
442 |
+
"eval_loss": 1.7017050981521606,
|
443 |
+
"eval_runtime": 10.2794,
|
444 |
+
"eval_samples_per_second": 22.18,
|
445 |
+
"eval_steps_per_second": 2.821,
|
446 |
+
"step": 346
|
447 |
}
|
448 |
],
|
449 |
+
"max_steps": 346,
|
450 |
+
"num_train_epochs": 2,
|
451 |
+
"total_flos": 359537836032000.0,
|
452 |
"trial_name": null,
|
453 |
"trial_params": null
|
454 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a577c92f63c7982cffa4f5373df3f9b2218b8fba8ae03f5f9b92e96c6b2421a2
|
3 |
+
size 2735
|