AlekseyKorshuk
commited on
Commit
•
44358ee
1
Parent(s):
1559e0a
huggingartists
Browse files- README.md +3 -3
- config.json +1 -1
- evaluation.txt +1 -1
- flax_model.msgpack +1 -1
- optimizer.pt +1 -1
- pytorch_model.bin +1 -1
- rng_state.pth +1 -1
- scheduler.pt +1 -1
- special_tokens_map.json +5 -1
- tokenizer_config.json +10 -1
- trainer_state.json +13 -5
- training_args.bin +2 -2
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/eminem")
|
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 Eminem'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/eminem")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/1jvphstz/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 Eminem's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/15ya0ypw) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/15ya0ypw/artifacts) is logged and versioned.
|
57 |
|
58 |
## How to use
|
59 |
|
config.json
CHANGED
@@ -37,7 +37,7 @@
|
|
37 |
}
|
38 |
},
|
39 |
"torch_dtype": "float32",
|
40 |
-
"transformers_version": "4.
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 50257
|
43 |
}
|
|
|
37 |
}
|
38 |
},
|
39 |
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.20.0",
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 50257
|
43 |
}
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 0.
|
|
|
1 |
+
{"eval_loss": 0.16962459683418274, "eval_runtime": 13.6942, "eval_samples_per_second": 44.252, "eval_steps_per_second": 5.55, "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:86c809434f7ba223e0f4932427aff4dd77ca926e41c1cf80cef1468940dc33f9
|
3 |
size 497764120
|
optimizer.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 995604017
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d69eaa2fd8405bcba2bc9d6757374a18123acd399e298991b6dee092e5866cfc
|
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 510396521
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba08fd25ed18420dc4bfd849ebbeb91bed54e82af9e69832076c8c35126e8566
|
3 |
size 510396521
|
rng_state.pth
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 14567
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d9a3990d4128b6374fa74f68431dc132ace2dfd765c1e8c95339672c1ebb33e
|
3 |
size 14567
|
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:bc741aec1f1a1d576673177552ef39f4ab62f9d8d11904393f5388f0931779fe
|
3 |
size 623
|
special_tokens_map.json
CHANGED
@@ -1 +1,5 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"unk_token": "<|endoftext|>"
|
5 |
+
}
|
tokenizer_config.json
CHANGED
@@ -1 +1,10 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"eos_token": "<|endoftext|>",
|
5 |
+
"model_max_length": 1024,
|
6 |
+
"name_or_path": "huggingartists/eminem",
|
7 |
+
"special_tokens_map_file": null,
|
8 |
+
"tokenizer_class": "GPT2Tokenizer",
|
9 |
+
"unk_token": "<|endoftext|>"
|
10 |
+
}
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 0.
|
3 |
-
"best_model_checkpoint": "output/eminem/checkpoint-
|
4 |
"epoch": 1.0,
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -560,11 +560,19 @@
|
|
560 |
"eval_samples_per_second": 42.993,
|
561 |
"eval_steps_per_second": 5.408,
|
562 |
"step": 456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
563 |
}
|
564 |
],
|
565 |
-
"max_steps":
|
566 |
"num_train_epochs": 2,
|
567 |
-
"total_flos":
|
568 |
"trial_name": null,
|
569 |
"trial_params": null
|
570 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.16962459683418274,
|
3 |
+
"best_model_checkpoint": "output/eminem/checkpoint-459",
|
4 |
"epoch": 1.0,
|
5 |
+
"global_step": 459,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
560 |
"eval_samples_per_second": 42.993,
|
561 |
"eval_steps_per_second": 5.408,
|
562 |
"step": 456
|
563 |
+
},
|
564 |
+
{
|
565 |
+
"epoch": 1.0,
|
566 |
+
"eval_loss": 0.16962459683418274,
|
567 |
+
"eval_runtime": 12.708,
|
568 |
+
"eval_samples_per_second": 47.687,
|
569 |
+
"eval_steps_per_second": 5.98,
|
570 |
+
"step": 459
|
571 |
}
|
572 |
],
|
573 |
+
"max_steps": 918,
|
574 |
"num_train_epochs": 2,
|
575 |
+
"total_flos": 478817648640000.0,
|
576 |
"trial_name": null,
|
577 |
"trial_params": null
|
578 |
}
|
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:101cd019ae7a87de818159c75aa149460e38611ef07323554d4ab03e40a38235
|
3 |
+
size 3311
|