AlekseyKorshuk
commited on
Commit
•
a16dd5f
1
Parent(s):
1de473e
huggingartists
Browse files- README.md +3 -3
- config.json +4 -2
- evaluation.txt +1 -1
- flax_model.msgpack +1 -1
- optimizer.pt +1 -1
- pytorch_model.bin +1 -1
- rng_state.pth +2 -2
- scheduler.pt +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +1 -1
- trainer_state.json +57 -7
- training_args.bin +2 -2
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/led-zeppelin")
|
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 Led Zeppelin'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/led-zeppelin")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/cpexpb1w/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 Led Zeppelin's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/bna2epba) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/bna2epba/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"
|
@@ -17,7 +17,9 @@
|
|
17 |
"n_inner": null,
|
18 |
"n_layer": 12,
|
19 |
"n_positions": 1024,
|
|
|
20 |
"resid_pdrop": 0.1,
|
|
|
21 |
"scale_attn_weights": true,
|
22 |
"summary_activation": null,
|
23 |
"summary_first_dropout": 0.1,
|
@@ -34,7 +36,7 @@
|
|
34 |
}
|
35 |
},
|
36 |
"torch_dtype": "float32",
|
37 |
-
"transformers_version": "4.
|
38 |
"use_cache": true,
|
39 |
"vocab_size": 50257
|
40 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "led-zeppelin",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
17 |
"n_inner": null,
|
18 |
"n_layer": 12,
|
19 |
"n_positions": 1024,
|
20 |
+
"reorder_and_upcast_attn": false,
|
21 |
"resid_pdrop": 0.1,
|
22 |
+
"scale_attn_by_inverse_layer_idx": false,
|
23 |
"scale_attn_weights": true,
|
24 |
"summary_activation": null,
|
25 |
"summary_first_dropout": 0.1,
|
|
|
36 |
}
|
37 |
},
|
38 |
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.16.2",
|
40 |
"use_cache": true,
|
41 |
"vocab_size": 50257
|
42 |
}
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 2.
|
|
|
1 |
+
{"eval_loss": 2.537315607070923, "eval_runtime": 0.5924, "eval_samples_per_second": 74.276, "eval_steps_per_second": 10.129, "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:a80691ed49dbe4e433e677de9ec53a9161c49e377ca0aed2a46c57ba985f706e
|
3 |
size 497764120
|
optimizer.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 995603825
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a94f3e929debb9aca5475eaed9e9c1b2cf585aa707bce1dc6b676a82a534af9
|
3 |
size 995603825
|
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:e88e60aa829d86cf4dd3e990c425f851c472ab19b6054dc57602697dad3f3cb4
|
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:59cb81eef7b3d8300cd1eede00d029a878c6f6a40574dd917f7eb70641cc91fa
|
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:2222362d80f6c4a5547283104536d5c4564191fb641a9b7f7b9e346e9a58c2ee
|
3 |
size 623
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
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/led-zeppelin", "tokenizer_class": "GPT2Tokenizer"}
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 2.
|
3 |
-
"best_model_checkpoint": "output/led-zeppelin/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -50,11 +50,61 @@
|
|
50 |
"eval_samples_per_second": 22.688,
|
51 |
"eval_steps_per_second": 2.896,
|
52 |
"step": 33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
],
|
55 |
-
"max_steps":
|
56 |
-
"num_train_epochs":
|
57 |
-
"total_flos":
|
58 |
"trial_name": null,
|
59 |
"trial_params": null
|
60 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 2.537315607070923,
|
3 |
+
"best_model_checkpoint": "output/led-zeppelin/checkpoint-66",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 66,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
50 |
"eval_samples_per_second": 22.688,
|
51 |
"eval_steps_per_second": 2.896,
|
52 |
"step": 33
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 1.06,
|
56 |
+
"learning_rate": 1.2396913677783124e-06,
|
57 |
+
"loss": 2.9767,
|
58 |
+
"step": 35
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 1.21,
|
62 |
+
"learning_rate": 1.4676757700644785e-05,
|
63 |
+
"loss": 2.7654,
|
64 |
+
"step": 40
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 1.36,
|
68 |
+
"learning_rate": 4.0102530108070535e-05,
|
69 |
+
"loss": 2.8035,
|
70 |
+
"step": 45
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 1.52,
|
74 |
+
"learning_rate": 7.186411942550872e-05,
|
75 |
+
"loss": 2.7337,
|
76 |
+
"step": 50
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 1.67,
|
80 |
+
"learning_rate": 0.00010290000000000001,
|
81 |
+
"loss": 2.8151,
|
82 |
+
"step": 55
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"epoch": 1.82,
|
86 |
+
"learning_rate": 0.000126309992352219,
|
87 |
+
"loss": 2.6463,
|
88 |
+
"step": 60
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 1.97,
|
92 |
+
"learning_rate": 0.0001368893738885136,
|
93 |
+
"loss": 2.5568,
|
94 |
+
"step": 65
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 2.0,
|
98 |
+
"eval_loss": 2.537315607070923,
|
99 |
+
"eval_runtime": 0.5866,
|
100 |
+
"eval_samples_per_second": 75.011,
|
101 |
+
"eval_steps_per_second": 10.229,
|
102 |
+
"step": 66
|
103 |
}
|
104 |
],
|
105 |
+
"max_steps": 66,
|
106 |
+
"num_train_epochs": 2,
|
107 |
+
"total_flos": 67413344256000.0,
|
108 |
"trial_name": null,
|
109 |
"trial_params": null
|
110 |
}
|
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:3d57478b7945fcc40bbd7ed427acf9dd4c29beb6911f6439ab8ed9df514ac849
|
3 |
+
size 3055
|