AlekseyKorshuk
commited on
Commit
•
59ed122
1
Parent(s):
1270dce
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 +2 -2
- scheduler.pt +1 -1
- tokenizer_config.json +1 -1
- trainer_state.json +167 -7
- training_args.bin +1 -1
README.md
CHANGED
@@ -45,15 +45,15 @@ from datasets import load_dataset
|
|
45 |
dataset = load_dataset("huggingartists/miyagi")
|
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 MiyaGi'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/miyagi")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/1ai9l9x0/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 MiyaGi's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/1jowduev) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/1jowduev/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"
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "huggingartists/miyagi",
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
evaluation.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eval_loss": 1.
|
|
|
1 |
+
{"eval_loss": 1.8749154806137085, "eval_runtime": 7.3205, "eval_samples_per_second": 21.993, "eval_steps_per_second": 2.869, "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:dc6c27a566d394fbdfff2c02e91b8c4f7dcbbda449ff9001dad2a4e5e9c49d15
|
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:b786b373617192574138bda4ac4b3640a92f885392072876141d13ed205ff93f
|
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:7efb14a7343abd44b17d9c21ac3a67b41d36a9948a87d8429abc40754990793b
|
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:c04cc128afd4b444801d7a22ed3a8e15a0e9e121067a7a197e91e35268473f22
|
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:34ccf3854b39bd52f430cb63b3a54f30c543980a0b5913372cb9a1e99f761d9b
|
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/miyagi", "tokenizer_class": "GPT2Tokenizer"}
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric": 1.
|
3 |
-
"best_model_checkpoint": "output/miyagi/checkpoint-
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -158,11 +158,171 @@
|
|
158 |
"eval_samples_per_second": 20.489,
|
159 |
"eval_steps_per_second": 2.667,
|
160 |
"step": 120
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
}
|
162 |
],
|
163 |
-
"max_steps":
|
164 |
-
"num_train_epochs":
|
165 |
-
"total_flos":
|
166 |
"trial_name": null,
|
167 |
"trial_params": null
|
168 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 1.8749154806137085,
|
3 |
+
"best_model_checkpoint": "output/miyagi/checkpoint-242",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 242,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
158 |
"eval_samples_per_second": 20.489,
|
159 |
"eval_steps_per_second": 2.667,
|
160 |
"step": 120
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 1.0,
|
164 |
+
"eval_loss": 1.8863365650177002,
|
165 |
+
"eval_runtime": 6.9627,
|
166 |
+
"eval_samples_per_second": 23.123,
|
167 |
+
"eval_steps_per_second": 3.016,
|
168 |
+
"step": 121
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 1.03,
|
172 |
+
"learning_rate": 3.696176693910321e-07,
|
173 |
+
"loss": 1.993,
|
174 |
+
"step": 125
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 1.07,
|
178 |
+
"learning_rate": 1.8643657094774288e-06,
|
179 |
+
"loss": 1.8125,
|
180 |
+
"step": 130
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 1.12,
|
184 |
+
"learning_rate": 4.482209545216786e-06,
|
185 |
+
"loss": 1.9934,
|
186 |
+
"step": 135
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"epoch": 1.16,
|
190 |
+
"learning_rate": 8.179093411846335e-06,
|
191 |
+
"loss": 1.8632,
|
192 |
+
"step": 140
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 1.2,
|
196 |
+
"learning_rate": 1.2892802350719696e-05,
|
197 |
+
"loss": 2.0066,
|
198 |
+
"step": 145
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 1.24,
|
202 |
+
"learning_rate": 1.8544009226529548e-05,
|
203 |
+
"loss": 2.0706,
|
204 |
+
"step": 150
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 1.28,
|
208 |
+
"learning_rate": 2.5037609725814876e-05,
|
209 |
+
"loss": 1.9308,
|
210 |
+
"step": 155
|
211 |
+
},
|
212 |
+
{
|
213 |
+
"epoch": 1.32,
|
214 |
+
"learning_rate": 3.2264322870026065e-05,
|
215 |
+
"loss": 1.8125,
|
216 |
+
"step": 160
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 1.36,
|
220 |
+
"learning_rate": 4.0102530108070535e-05,
|
221 |
+
"loss": 1.8868,
|
222 |
+
"step": 165
|
223 |
+
},
|
224 |
+
{
|
225 |
+
"epoch": 1.4,
|
226 |
+
"learning_rate": 4.842032203820096e-05,
|
227 |
+
"loss": 1.9685,
|
228 |
+
"step": 170
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 1.45,
|
232 |
+
"learning_rate": 5.70777183149067e-05,
|
233 |
+
"loss": 1.9188,
|
234 |
+
"step": 175
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 1.49,
|
238 |
+
"learning_rate": 6.592902338193754e-05,
|
239 |
+
"loss": 1.9786,
|
240 |
+
"step": 180
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 1.53,
|
244 |
+
"learning_rate": 7.482527838676297e-05,
|
245 |
+
"loss": 1.8686,
|
246 |
+
"step": 185
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"epoch": 1.57,
|
250 |
+
"learning_rate": 8.361676801313241e-05,
|
251 |
+
"loss": 1.9975,
|
252 |
+
"step": 190
|
253 |
+
},
|
254 |
+
{
|
255 |
+
"epoch": 1.61,
|
256 |
+
"learning_rate": 9.215554004418502e-05,
|
257 |
+
"loss": 1.851,
|
258 |
+
"step": 195
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 1.65,
|
262 |
+
"learning_rate": 0.00010029789525431117,
|
263 |
+
"loss": 1.8228,
|
264 |
+
"step": 200
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 1.69,
|
268 |
+
"learning_rate": 0.0001079068057273095,
|
269 |
+
"loss": 1.8039,
|
270 |
+
"step": 205
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"epoch": 1.74,
|
274 |
+
"learning_rate": 0.0001148542209028974,
|
275 |
+
"loss": 1.9549,
|
276 |
+
"step": 210
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 1.78,
|
280 |
+
"learning_rate": 0.00012102322254305531,
|
281 |
+
"loss": 1.9539,
|
282 |
+
"step": 215
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 1.82,
|
286 |
+
"learning_rate": 0.000126309992352219,
|
287 |
+
"loss": 1.8849,
|
288 |
+
"step": 220
|
289 |
+
},
|
290 |
+
{
|
291 |
+
"epoch": 1.86,
|
292 |
+
"learning_rate": 0.00013062555913818553,
|
293 |
+
"loss": 1.9122,
|
294 |
+
"step": 225
|
295 |
+
},
|
296 |
+
{
|
297 |
+
"epoch": 1.9,
|
298 |
+
"learning_rate": 0.00013389729611071438,
|
299 |
+
"loss": 1.9664,
|
300 |
+
"step": 230
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"epoch": 1.94,
|
304 |
+
"learning_rate": 0.00013607014311974643,
|
305 |
+
"loss": 1.8078,
|
306 |
+
"step": 235
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 1.98,
|
310 |
+
"learning_rate": 0.00013710753326415926,
|
311 |
+
"loss": 1.8547,
|
312 |
+
"step": 240
|
313 |
+
},
|
314 |
+
{
|
315 |
+
"epoch": 2.0,
|
316 |
+
"eval_loss": 1.8749154806137085,
|
317 |
+
"eval_runtime": 7.1382,
|
318 |
+
"eval_samples_per_second": 22.555,
|
319 |
+
"eval_steps_per_second": 2.942,
|
320 |
+
"step": 242
|
321 |
}
|
322 |
],
|
323 |
+
"max_steps": 242,
|
324 |
+
"num_train_epochs": 2,
|
325 |
+
"total_flos": 252146810880000.0,
|
326 |
"trial_name": null,
|
327 |
"trial_params": null
|
328 |
}
|
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:3fea27806c0a8b58c971861b19a8e6a16537326283f0b22c46854ba1150e10ed
|
3 |
size 2671
|