AlekseyKorshuk
commited on
Commit
•
7646a22
1
Parent(s):
53f49cf
huggingartists
Browse files- README.md +4 -4
- config.json +1 -1
- evaluation.txt +1 -1
- flax_model.msgpack +1 -1
- optimizer.pt +1 -1
- pytorch_model.bin +2 -2
- rng_state.pth +1 -1
- scheduler.pt +1 -1
- special_tokens_map.json +5 -1
- tokenizer.json +0 -0
- tokenizer_config.json +10 -1
- trainer_state.json +38 -6
- training_args.bin +2 -2
README.md
CHANGED
@@ -14,7 +14,7 @@ widget:
|
|
14 |
<div class="inline-flex flex-col" style="line-height: 1.5;">
|
15 |
<div class="flex">
|
16 |
<div
|
17 |
-
style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%; background-size: cover; background-image: url('https://images.genius.com/
|
18 |
</div>
|
19 |
</div>
|
20 |
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">🤖 HuggingArtists Model 🤖</div>
|
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/50-cent")
|
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 50 Cent'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 |
|
|
|
14 |
<div class="inline-flex flex-col" style="line-height: 1.5;">
|
15 |
<div class="flex">
|
16 |
<div
|
17 |
+
style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%; background-size: cover; background-image: url('https://images.genius.com/10f98dca7bcd1a31222e36374544cad5.1000x1000x1.png')">
|
18 |
</div>
|
19 |
</div>
|
20 |
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">🤖 HuggingArtists Model 🤖</div>
|
|
|
45 |
dataset = load_dataset("huggingartists/50-cent")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/1291qx5n/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 50 Cent's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/1igwpphq) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/1igwpphq/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.21.1",
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 50257
|
43 |
}
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 3.
|
|
|
1 |
+
{"eval_loss": 3.0555238723754883, "eval_runtime": 7.5342, "eval_samples_per_second": 44.464, "eval_steps_per_second": 5.575, "epoch": 4.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:c31b862d45de3ccaef441f9fa1ef7b2f6652e2fc2f234e0f41fc2603aaf1b945
|
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:61bd3affdd5f277c7a5fa396f629321f2ec69771dc1627813439141a226ef52a
|
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
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0945e2dd7a9b1ceebc48b1ea934a8cae156a24935412485e958f7553a07f3a1
|
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 14439
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c320020a0ace51c3f4a7cf3c6f56a3d1dd0674fae61f1db1544dbd74bfc37ce
|
3 |
size 14439
|
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:4418ab9fab32411bcd81f230a37050effcf0af203d9975e195bd2410cbd3f658
|
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.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
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/50-cent",
|
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": 3.
|
3 |
-
"best_model_checkpoint": "output/50-cent/checkpoint-
|
4 |
"epoch": 3.0,
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -956,11 +956,43 @@
|
|
956 |
"eval_samples_per_second": 20.875,
|
957 |
"eval_steps_per_second": 2.623,
|
958 |
"step": 765
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
959 |
}
|
960 |
],
|
961 |
-
"max_steps":
|
962 |
-
"num_train_epochs":
|
963 |
-
"total_flos":
|
964 |
"trial_name": null,
|
965 |
"trial_params": null
|
966 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 3.0555238723754883,
|
3 |
+
"best_model_checkpoint": "output/50-cent/checkpoint-786",
|
4 |
"epoch": 3.0,
|
5 |
+
"global_step": 786,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
956 |
"eval_samples_per_second": 20.875,
|
957 |
"eval_steps_per_second": 2.623,
|
958 |
"step": 765
|
959 |
+
},
|
960 |
+
{
|
961 |
+
"epoch": 2.94,
|
962 |
+
"learning_rate": 1.2586318832182472e-06,
|
963 |
+
"loss": 3.1497,
|
964 |
+
"step": 770
|
965 |
+
},
|
966 |
+
{
|
967 |
+
"epoch": 2.96,
|
968 |
+
"learning_rate": 5.958637034415764e-07,
|
969 |
+
"loss": 3.0369,
|
970 |
+
"step": 775
|
971 |
+
},
|
972 |
+
{
|
973 |
+
"epoch": 2.98,
|
974 |
+
"learning_rate": 1.7746243957364735e-07,
|
975 |
+
"loss": 3.0894,
|
976 |
+
"step": 780
|
977 |
+
},
|
978 |
+
{
|
979 |
+
"epoch": 3.0,
|
980 |
+
"learning_rate": 4.93157996134388e-09,
|
981 |
+
"loss": 3.108,
|
982 |
+
"step": 785
|
983 |
+
},
|
984 |
+
{
|
985 |
+
"epoch": 3.0,
|
986 |
+
"eval_loss": 3.0555238723754883,
|
987 |
+
"eval_runtime": 7.2147,
|
988 |
+
"eval_samples_per_second": 46.433,
|
989 |
+
"eval_steps_per_second": 5.821,
|
990 |
+
"step": 786
|
991 |
}
|
992 |
],
|
993 |
+
"max_steps": 1048,
|
994 |
+
"num_train_epochs": 4,
|
995 |
+
"total_flos": 819411812352000.0,
|
996 |
"trial_name": null,
|
997 |
"trial_params": null
|
998 |
}
|
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:db91ef57c5d38de6898fc617729ddf27eb84a3d3f4675fcb9c0094e4e90223ff
|
3 |
+
size 3375
|