AlekseyKorshuk
commited on
Commit
·
2be8f97
1
Parent(s):
32dbbca
huggingartists
Browse files- README.md +3 -3
- config.json +0 -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
- tokenizer_config.json +1 -1
- trainer_state.json +20 -6
- training_args.bin +1 -1
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/tusv3cma/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/kcn90ud5) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/kcn90ud5/artifacts) is logged and versioned.
|
57 |
|
58 |
## How to use
|
59 |
|
config.json
CHANGED
@@ -8,7 +8,6 @@
|
|
8 |
"bos_token_id": 50256,
|
9 |
"embd_pdrop": 0.1,
|
10 |
"eos_token_id": 50256,
|
11 |
-
"gradient_checkpointing": false,
|
12 |
"initializer_range": 0.02,
|
13 |
"layer_norm_epsilon": 1e-05,
|
14 |
"model_type": "gpt2",
|
|
|
8 |
"bos_token_id": 50256,
|
9 |
"embd_pdrop": 0.1,
|
10 |
"eos_token_id": 50256,
|
|
|
11 |
"initializer_range": 0.02,
|
12 |
"layer_norm_epsilon": 1e-05,
|
13 |
"model_type": "gpt2",
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 0.
|
|
|
1 |
+
{"eval_loss": 0.15162613987922668, "eval_runtime": 14.5602, "eval_samples_per_second": 44.23, "eval_steps_per_second": 5.563, "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:f7761ecce8eb19c94742f6c9fd9bee473e591dcc45cbcb2ee94e93dee113edf7
|
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:4476e576f6e7c72bcefb1035b67b146bab7f5ece7faedb85e92bffb11d4796ce
|
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:5516fb13956d24eaaff944923fb65d6b9148d14860382a06da5c8132587cd3dc
|
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:27912df59e20e4b2d528762eeb52cf6b416a98f296d07fe6caab6324eee7cd93
|
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:7dd0d4fbaf273821538ccb639a7a35444f70ec1b31c607e5a8601956d595803c
|
3 |
size 623
|
tokenizer_config.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
"bos_token": "<|endoftext|>",
|
4 |
"eos_token": "<|endoftext|>",
|
5 |
"model_max_length": 1024,
|
6 |
-
"name_or_path": "
|
7 |
"special_tokens_map_file": null,
|
8 |
"tokenizer_class": "GPT2Tokenizer",
|
9 |
"unk_token": "<|endoftext|>"
|
|
|
3 |
"bos_token": "<|endoftext|>",
|
4 |
"eos_token": "<|endoftext|>",
|
5 |
"model_max_length": 1024,
|
6 |
+
"name_or_path": "gpt2",
|
7 |
"special_tokens_map_file": null,
|
8 |
"tokenizer_class": "GPT2Tokenizer",
|
9 |
"unk_token": "<|endoftext|>"
|
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,
|
@@ -554,11 +554,25 @@
|
|
554 |
"eval_samples_per_second": 43.502,
|
555 |
"eval_steps_per_second": 5.463,
|
556 |
"step": 454
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
557 |
}
|
558 |
],
|
559 |
-
"max_steps":
|
560 |
-
"num_train_epochs":
|
561 |
-
"total_flos":
|
562 |
"trial_name": null,
|
563 |
"trial_params": null
|
564 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.15162613987922668,
|
3 |
+
"best_model_checkpoint": "output/eminem/checkpoint-455",
|
4 |
"epoch": 1.0,
|
5 |
+
"global_step": 455,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
554 |
"eval_samples_per_second": 43.502,
|
555 |
"eval_steps_per_second": 5.463,
|
556 |
"step": 454
|
557 |
+
},
|
558 |
+
{
|
559 |
+
"epoch": 1.0,
|
560 |
+
"learning_rate": 4.181858176201967e-07,
|
561 |
+
"loss": 0.3187,
|
562 |
+
"step": 455
|
563 |
+
},
|
564 |
+
{
|
565 |
+
"epoch": 1.0,
|
566 |
+
"eval_loss": 0.15162613987922668,
|
567 |
+
"eval_runtime": 13.378,
|
568 |
+
"eval_samples_per_second": 48.139,
|
569 |
+
"eval_steps_per_second": 6.055,
|
570 |
+
"step": 455
|
571 |
}
|
572 |
],
|
573 |
+
"max_steps": 910,
|
574 |
+
"num_train_epochs": 2,
|
575 |
+
"total_flos": 474636976128000.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 3311
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8430f2d6c4d4f936bbbf8c552b5578f9269d0dd84df240e93b07571cd47afa8e
|
3 |
size 3311
|