AlekseyKorshuk
commited on
Commit
•
7735708
1
Parent(s):
5c0073c
huggingartists
Browse files- README.md +4 -4
- config.json +2 -2
- evaluation.txt +1 -0
- 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 +141 -7
- training_args.bin +1 -1
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/the-beatles")
|
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 The Beatles'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/c771d3ee1c0969503cdaf34edf76f38a.400x400x1.jpg')">
|
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/the-beatles")
|
46 |
```
|
47 |
|
48 |
+
[Explore the data](https://wandb.ai/huggingartists/huggingartists/runs/1twc71z8/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 The Beatles's lyrics.
|
53 |
|
54 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://wandb.ai/huggingartists/huggingartists/runs/3vbolrfq) for full transparency and reproducibility.
|
55 |
|
56 |
+
At the end of training, [the final model](https://wandb.ai/huggingartists/huggingartists/runs/3vbolrfq/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.
|
39 |
"use_cache": true,
|
40 |
"vocab_size": 50257
|
41 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "huggingartists/the-beatles",
|
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
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"eval_loss": 2.5396728515625, "eval_runtime": 7.0101, "eval_samples_per_second": 22.111, "eval_steps_per_second": 2.853, "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:f3f36c2f7c7ddcb5a0ba27a0a735f4eeea2faf652a081d5446fcfd3063a5e91d
|
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:01d0c006bc4779d8568c0522e5b4dffe3f82a222541b07e498cafa70e35560b2
|
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:24cb962a13630d160fb8f252859dfc4a16bbf489188271190908493e98b8bd48
|
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:bf4704f411f7c64c230e3a475c23d3112f179d24c4827bb93cc3c981ff7942d5
|
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:f1403a00d87496c96b524036f4c8c82be5fad3d7a1c0f59e9835444c0e5d9468
|
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/the-beatles", "tokenizer_class": "GPT2Tokenizer"}
|
trainer_state.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"best_metric":
|
3 |
-
"best_model_checkpoint":
|
4 |
-
"epoch":
|
5 |
-
"global_step":
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
@@ -180,11 +180,145 @@
|
|
180 |
"learning_rate": 0.0,
|
181 |
"loss": 2.8741,
|
182 |
"step": 145
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
}
|
184 |
],
|
185 |
-
"max_steps":
|
186 |
-
"num_train_epochs":
|
187 |
-
"total_flos":
|
188 |
"trial_name": null,
|
189 |
"trial_params": null
|
190 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 2.5396728515625,
|
3 |
+
"best_model_checkpoint": "output/the-beatles/checkpoint-250",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 250,
|
6 |
"is_hyper_param_search": false,
|
7 |
"is_local_process_zero": true,
|
8 |
"is_world_process_zero": true,
|
|
|
180 |
"learning_rate": 0.0,
|
181 |
"loss": 2.8741,
|
182 |
"step": 145
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 1.2,
|
186 |
+
"learning_rate": 1.3101434185878598e-05,
|
187 |
+
"loss": 2.452,
|
188 |
+
"step": 150
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 1.24,
|
192 |
+
"learning_rate": 1.8592752158891168e-05,
|
193 |
+
"loss": 2.5133,
|
194 |
+
"step": 155
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 1.28,
|
198 |
+
"learning_rate": 2.4872714303239897e-05,
|
199 |
+
"loss": 2.3717,
|
200 |
+
"step": 160
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 1.32,
|
204 |
+
"learning_rate": 3.184228186444085e-05,
|
205 |
+
"loss": 2.5966,
|
206 |
+
"step": 165
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 1.36,
|
210 |
+
"learning_rate": 3.939154059863605e-05,
|
211 |
+
"loss": 2.5,
|
212 |
+
"step": 170
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 1.4,
|
216 |
+
"learning_rate": 4.74014341858786e-05,
|
217 |
+
"loss": 2.4988,
|
218 |
+
"step": 175
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 1.44,
|
222 |
+
"learning_rate": 5.574564181941929e-05,
|
223 |
+
"loss": 2.6535,
|
224 |
+
"step": 180
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 1.48,
|
228 |
+
"learning_rate": 6.429257036028911e-05,
|
229 |
+
"loss": 2.5217,
|
230 |
+
"step": 185
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 1.52,
|
234 |
+
"learning_rate": 7.290742963971086e-05,
|
235 |
+
"loss": 2.5988,
|
236 |
+
"step": 190
|
237 |
+
},
|
238 |
+
{
|
239 |
+
"epoch": 1.56,
|
240 |
+
"learning_rate": 8.145435818058069e-05,
|
241 |
+
"loss": 2.3431,
|
242 |
+
"step": 195
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"epoch": 1.6,
|
246 |
+
"learning_rate": 8.979856581412138e-05,
|
247 |
+
"loss": 2.5257,
|
248 |
+
"step": 200
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 1.64,
|
252 |
+
"learning_rate": 9.780845940136392e-05,
|
253 |
+
"loss": 2.5586,
|
254 |
+
"step": 205
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 1.68,
|
258 |
+
"learning_rate": 0.00010535771813555913,
|
259 |
+
"loss": 2.4987,
|
260 |
+
"step": 210
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 1.72,
|
264 |
+
"learning_rate": 0.00011232728569676008,
|
265 |
+
"loss": 2.1873,
|
266 |
+
"step": 215
|
267 |
+
},
|
268 |
+
{
|
269 |
+
"epoch": 1.76,
|
270 |
+
"learning_rate": 0.00011860724784110881,
|
271 |
+
"loss": 2.4757,
|
272 |
+
"step": 220
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"epoch": 1.8,
|
276 |
+
"learning_rate": 0.0001240985658141214,
|
277 |
+
"loss": 2.2676,
|
278 |
+
"step": 225
|
279 |
+
},
|
280 |
+
{
|
281 |
+
"epoch": 1.84,
|
282 |
+
"learning_rate": 0.00012871463825100903,
|
283 |
+
"loss": 2.5652,
|
284 |
+
"step": 230
|
285 |
+
},
|
286 |
+
{
|
287 |
+
"epoch": 1.88,
|
288 |
+
"learning_rate": 0.00013238266693193403,
|
289 |
+
"loss": 2.3751,
|
290 |
+
"step": 235
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"epoch": 1.92,
|
294 |
+
"learning_rate": 0.0001350448048534241,
|
295 |
+
"loss": 2.5399,
|
296 |
+
"step": 240
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 1.96,
|
300 |
+
"learning_rate": 0.00013665906851017317,
|
301 |
+
"loss": 2.0634,
|
302 |
+
"step": 245
|
303 |
+
},
|
304 |
+
{
|
305 |
+
"epoch": 2.0,
|
306 |
+
"learning_rate": 0.0001372,
|
307 |
+
"loss": 2.3758,
|
308 |
+
"step": 250
|
309 |
+
},
|
310 |
+
{
|
311 |
+
"epoch": 2.0,
|
312 |
+
"eval_loss": 2.5396728515625,
|
313 |
+
"eval_runtime": 6.8424,
|
314 |
+
"eval_samples_per_second": 22.653,
|
315 |
+
"eval_steps_per_second": 2.923,
|
316 |
+
"step": 250
|
317 |
}
|
318 |
],
|
319 |
+
"max_steps": 250,
|
320 |
+
"num_train_epochs": 2,
|
321 |
+
"total_flos": 260246863872000.0,
|
322 |
"trial_name": null,
|
323 |
"trial_params": null
|
324 |
}
|
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:ce42f54e5d08f9c1684b110fb05bbd513348d13b90f70989ccfab6b0fc97e2f0
|
3 |
size 2671
|