AlekseyKorshuk
commited on
Commit
•
2fab1cf
1
Parent(s):
bbc4d64
huggingartists
Browse files- README.md +3 -3
- config.json +2 -2
- 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 +99 -7
- training_args.bin +1 -1
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/queen")
|
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 Queen'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/queen")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/2gdiva6q/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 Queen's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/13beiwnf) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/13beiwnf/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"
|
@@ -35,7 +35,7 @@
|
|
35 |
}
|
36 |
},
|
37 |
"torch_dtype": "float32",
|
38 |
-
"transformers_version": "4.10.
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50257
|
41 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "huggingartists/queen",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
35 |
}
|
36 |
},
|
37 |
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.10.2",
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50257
|
41 |
}
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 2.
|
|
|
1 |
+
{"eval_loss": 2.3717236518859863, "eval_runtime": 4.3967, "eval_samples_per_second": 21.607, "eval_steps_per_second": 2.729, "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:502d1eca67475172a0f7e73acfe65ee0982960cae78a2b5e5553c81196e5486f
|
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:50eefa38edcc45ea891b86bb4da4f52375500fba7bb5584d8cdb052e5223ca88
|
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:a5e0293710fde0a4aceadc99d7a89a6f9829daedae2710b8bf9821bc4ca243d0
|
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 14503
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1191b4ca1a5f132d0d48f14b4540315157d0debe4480006a34a7119f47c28f6a
|
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:18209b36204372bc8bd57462514f70b2cc7d1fa3bea72f64e7301510fe0e371f
|
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/queen", "tokenizer_class": "GPT2Tokenizer"}
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 2.
|
3 |
-
"best_model_checkpoint": "output/queen/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -92,11 +92,103 @@
|
|
92 |
"eval_samples_per_second": 21.192,
|
93 |
"eval_steps_per_second": 2.734,
|
94 |
"step": 68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
}
|
96 |
],
|
97 |
-
"max_steps":
|
98 |
-
"num_train_epochs":
|
99 |
-
"total_flos":
|
100 |
"trial_name": null,
|
101 |
"trial_params": null
|
102 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 2.3717236518859863,
|
3 |
+
"best_model_checkpoint": "output/queen/checkpoint-136",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 136,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
92 |
"eval_samples_per_second": 21.192,
|
93 |
"eval_steps_per_second": 2.734,
|
94 |
"step": 68
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 1.03,
|
98 |
+
"learning_rate": 2.926355061606279e-07,
|
99 |
+
"loss": 2.8201,
|
100 |
+
"step": 70
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.1,
|
104 |
+
"learning_rate": 3.55617957525975e-06,
|
105 |
+
"loss": 2.7876,
|
106 |
+
"step": 75
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 1.18,
|
110 |
+
"learning_rate": 1.0275104488948473e-05,
|
111 |
+
"loss": 2.8738,
|
112 |
+
"step": 80
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 1.25,
|
116 |
+
"learning_rate": 2.009247481060283e-05,
|
117 |
+
"loss": 2.6439,
|
118 |
+
"step": 85
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"epoch": 1.32,
|
122 |
+
"learning_rate": 3.2486753626613365e-05,
|
123 |
+
"loss": 2.5993,
|
124 |
+
"step": 90
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"epoch": 1.4,
|
128 |
+
"learning_rate": 4.679950861668151e-05,
|
129 |
+
"loss": 2.7072,
|
130 |
+
"step": 95
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"epoch": 1.47,
|
134 |
+
"learning_rate": 6.227039054081748e-05,
|
135 |
+
"loss": 2.7465,
|
136 |
+
"step": 100
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 1.54,
|
140 |
+
"learning_rate": 7.807752594969911e-05,
|
141 |
+
"loss": 2.5926,
|
142 |
+
"step": 105
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 1.62,
|
146 |
+
"learning_rate": 9.338117830043867e-05,
|
147 |
+
"loss": 2.7178,
|
148 |
+
"step": 110
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"epoch": 1.69,
|
152 |
+
"learning_rate": 0.00010736835802938978,
|
153 |
+
"loss": 2.7027,
|
154 |
+
"step": 115
|
155 |
+
},
|
156 |
+
{
|
157 |
+
"epoch": 1.76,
|
158 |
+
"learning_rate": 0.00011929601172133719,
|
159 |
+
"loss": 2.4457,
|
160 |
+
"step": 120
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 1.84,
|
164 |
+
"learning_rate": 0.00012853049599834097,
|
165 |
+
"loss": 2.6806,
|
166 |
+
"step": 125
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"epoch": 1.91,
|
170 |
+
"learning_rate": 0.00013458123912165538,
|
171 |
+
"loss": 2.4508,
|
172 |
+
"step": 130
|
173 |
+
},
|
174 |
+
{
|
175 |
+
"epoch": 1.99,
|
176 |
+
"learning_rate": 0.00013712680207144277,
|
177 |
+
"loss": 2.6492,
|
178 |
+
"step": 135
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 2.0,
|
182 |
+
"eval_loss": 2.3717236518859863,
|
183 |
+
"eval_runtime": 4.3106,
|
184 |
+
"eval_samples_per_second": 22.039,
|
185 |
+
"eval_steps_per_second": 2.784,
|
186 |
+
"step": 136
|
187 |
}
|
188 |
],
|
189 |
+
"max_steps": 136,
|
190 |
+
"num_train_epochs": 2,
|
191 |
+
"total_flos": 141097697280000.0,
|
192 |
"trial_name": null,
|
193 |
"trial_params": null
|
194 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2671
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe033cb76b844ba6d85ac8b88771923eea234dc7f7b0240e79578bf023ae7efa
|
3 |
size 2671
|