harp-dev commited on
Commit
58bbb8a
·
verified ·
1 Parent(s): dcb9fd7

Mirror PiCoGen2's checkpoint from Zenodo and its config and vocabulary from GitHub.

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. README.md +10 -0
  3. config.json +26 -0
  4. model_ft_00070000 +3 -0
  5. vocab.json +502 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ model_ft_00070000 filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-3.0
3
+ ---
4
+
5
+ The pretrained PiCoGen2 model for [PiCoGen](https://huggingface.co/spaces/teamup-tech/PiCoGen), mirrored from Zenodo, from which the Space took up to three and a half minutes to fetch it at every restart. The filenames are the ones `picogen2` expects.
6
+
7
+ - `model_ft_00070000`: the fine-tuned checkpoint from [Zenodo record 13380452](https://zenodo.org/records/13380452), md5 `990c390292e5c311fb9358deb462d033`.
8
+ - `config.json` and `vocab.json`: the model's configuration and token vocabulary, from `assets/` in [tanchihpin0517/PiCoGen](https://github.com/tanchihpin0517/PiCoGen/tree/548a4e5dccab72855797a2fb192c50fae2ca71f6/assets) at commit `548a4e5`.
9
+
10
+ The Zenodo record licenses the checkpoint CC-BY-4.0, while the repository's LICENSE distributes trained models under CC-BY-NC-SA-3.0, since they derive from user contributions on HookTheory. The card declares the more restrictive of the two.
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "beat_div": 4,
3
+ "ticks_per_beat": 480,
4
+
5
+ "seed": 1234,
6
+ "learning_rate": 0.0002,
7
+ "learning_rate_min": 0.0001,
8
+ "adam_b1": 0.9,
9
+ "adam_b2": 0.99,
10
+ "sched_T": 5,
11
+ "warmup_epochs": 10,
12
+
13
+ "vocab_size": 500,
14
+ "token_class": 2,
15
+ "condition_class": 2,
16
+ "d_model": 512,
17
+ "d_bottleneck": 512,
18
+ "num_layers": 8,
19
+ "num_layers_encoder": 4,
20
+ "num_heads": 8,
21
+ "activation": "gelu",
22
+ "dropout": 0.1,
23
+ "max_seq_len": 1024,
24
+ "max_position_embeddings": 1024,
25
+ "loss_weight": 0.25
26
+ }
model_ft_00070000 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:504e0db9f7b23150a6dd836c1f65bb4ff9ad4a1dd4a4ef45957bacd301f4effa
3
+ size 467655727
vocab.json ADDED
@@ -0,0 +1,502 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "spec_pad",
3
+ "spec_bos",
4
+ "spec_eos",
5
+ "spec_unk",
6
+ "spec_mask",
7
+ "spec_ss",
8
+ "spec_se",
9
+ "bar_start",
10
+ "bar_end",
11
+ "bar_1",
12
+ "bar_2",
13
+ "bar_3",
14
+ "bar_4",
15
+ "bar_N",
16
+ "position_0",
17
+ "position_1",
18
+ "position_2",
19
+ "position_3",
20
+ "position_4",
21
+ "position_5",
22
+ "position_6",
23
+ "position_7",
24
+ "position_8",
25
+ "position_9",
26
+ "position_10",
27
+ "position_11",
28
+ "position_12",
29
+ "position_13",
30
+ "position_14",
31
+ "position_15",
32
+ "position_16",
33
+ "position_17",
34
+ "position_18",
35
+ "position_19",
36
+ "position_20",
37
+ "position_21",
38
+ "position_22",
39
+ "position_23",
40
+ "position_24",
41
+ "position_25",
42
+ "position_26",
43
+ "position_27",
44
+ "position_28",
45
+ "position_29",
46
+ "position_30",
47
+ "position_31",
48
+ "position_32",
49
+ "position_33",
50
+ "position_34",
51
+ "position_35",
52
+ "position_36",
53
+ "position_37",
54
+ "position_38",
55
+ "position_39",
56
+ "position_40",
57
+ "position_41",
58
+ "position_42",
59
+ "position_43",
60
+ "position_44",
61
+ "position_45",
62
+ "position_46",
63
+ "position_47",
64
+ "position_48",
65
+ "position_49",
66
+ "position_50",
67
+ "position_51",
68
+ "position_52",
69
+ "position_53",
70
+ "position_54",
71
+ "position_55",
72
+ "position_56",
73
+ "position_57",
74
+ "position_58",
75
+ "position_59",
76
+ "position_60",
77
+ "position_61",
78
+ "position_62",
79
+ "position_63",
80
+ "chord_N_N",
81
+ "chord_A_+",
82
+ "chord_A_/o7",
83
+ "chord_A_7",
84
+ "chord_A_M",
85
+ "chord_A_M7",
86
+ "chord_A_m",
87
+ "chord_A_m7",
88
+ "chord_A_o",
89
+ "chord_A_o7",
90
+ "chord_A_sus2",
91
+ "chord_A_sus4",
92
+ "chord_A#_+",
93
+ "chord_A#_/o7",
94
+ "chord_A#_7",
95
+ "chord_A#_M",
96
+ "chord_A#_M7",
97
+ "chord_A#_m",
98
+ "chord_A#_m7",
99
+ "chord_A#_o",
100
+ "chord_A#_o7",
101
+ "chord_A#_sus2",
102
+ "chord_A#_sus4",
103
+ "chord_B_+",
104
+ "chord_B_/o7",
105
+ "chord_B_7",
106
+ "chord_B_M",
107
+ "chord_B_M7",
108
+ "chord_B_m",
109
+ "chord_B_m7",
110
+ "chord_B_o",
111
+ "chord_B_o7",
112
+ "chord_B_sus2",
113
+ "chord_B_sus4",
114
+ "chord_C_+",
115
+ "chord_C_/o7",
116
+ "chord_C_7",
117
+ "chord_C_M",
118
+ "chord_C_M7",
119
+ "chord_C_m",
120
+ "chord_C_m7",
121
+ "chord_C_o",
122
+ "chord_C_o7",
123
+ "chord_C_sus2",
124
+ "chord_C_sus4",
125
+ "chord_C#_+",
126
+ "chord_C#_/o7",
127
+ "chord_C#_7",
128
+ "chord_C#_M",
129
+ "chord_C#_M7",
130
+ "chord_C#_m",
131
+ "chord_C#_m7",
132
+ "chord_C#_o",
133
+ "chord_C#_o7",
134
+ "chord_C#_sus2",
135
+ "chord_C#_sus4",
136
+ "chord_D_+",
137
+ "chord_D_/o7",
138
+ "chord_D_7",
139
+ "chord_D_M",
140
+ "chord_D_M7",
141
+ "chord_D_m",
142
+ "chord_D_m7",
143
+ "chord_D_o",
144
+ "chord_D_o7",
145
+ "chord_D_sus2",
146
+ "chord_D_sus4",
147
+ "chord_D#_+",
148
+ "chord_D#_/o7",
149
+ "chord_D#_7",
150
+ "chord_D#_M",
151
+ "chord_D#_M7",
152
+ "chord_D#_m",
153
+ "chord_D#_m7",
154
+ "chord_D#_o",
155
+ "chord_D#_o7",
156
+ "chord_D#_sus2",
157
+ "chord_D#_sus4",
158
+ "chord_E_+",
159
+ "chord_E_/o7",
160
+ "chord_E_7",
161
+ "chord_E_M",
162
+ "chord_E_M7",
163
+ "chord_E_m",
164
+ "chord_E_m7",
165
+ "chord_E_o",
166
+ "chord_E_o7",
167
+ "chord_E_sus2",
168
+ "chord_E_sus4",
169
+ "chord_F_+",
170
+ "chord_F_/o7",
171
+ "chord_F_7",
172
+ "chord_F_M",
173
+ "chord_F_M7",
174
+ "chord_F_m",
175
+ "chord_F_m7",
176
+ "chord_F_o",
177
+ "chord_F_o7",
178
+ "chord_F_sus2",
179
+ "chord_F_sus4",
180
+ "chord_F#_+",
181
+ "chord_F#_/o7",
182
+ "chord_F#_7",
183
+ "chord_F#_M",
184
+ "chord_F#_M7",
185
+ "chord_F#_m",
186
+ "chord_F#_m7",
187
+ "chord_F#_o",
188
+ "chord_F#_o7",
189
+ "chord_F#_sus2",
190
+ "chord_F#_sus4",
191
+ "chord_G_+",
192
+ "chord_G_/o7",
193
+ "chord_G_7",
194
+ "chord_G_M",
195
+ "chord_G_M7",
196
+ "chord_G_m",
197
+ "chord_G_m7",
198
+ "chord_G_o",
199
+ "chord_G_o7",
200
+ "chord_G_sus2",
201
+ "chord_G_sus4",
202
+ "chord_G#_+",
203
+ "chord_G#_/o7",
204
+ "chord_G#_7",
205
+ "chord_G#_M",
206
+ "chord_G#_M7",
207
+ "chord_G#_m",
208
+ "chord_G#_m7",
209
+ "chord_G#_o",
210
+ "chord_G#_o7",
211
+ "chord_G#_sus2",
212
+ "chord_G#_sus4",
213
+ "tempo_32",
214
+ "tempo_35",
215
+ "tempo_38",
216
+ "tempo_41",
217
+ "tempo_44",
218
+ "tempo_47",
219
+ "tempo_50",
220
+ "tempo_53",
221
+ "tempo_56",
222
+ "tempo_59",
223
+ "tempo_62",
224
+ "tempo_65",
225
+ "tempo_68",
226
+ "tempo_71",
227
+ "tempo_74",
228
+ "tempo_77",
229
+ "tempo_80",
230
+ "tempo_83",
231
+ "tempo_86",
232
+ "tempo_89",
233
+ "tempo_92",
234
+ "tempo_95",
235
+ "tempo_98",
236
+ "tempo_101",
237
+ "tempo_104",
238
+ "tempo_107",
239
+ "tempo_110",
240
+ "tempo_113",
241
+ "tempo_116",
242
+ "tempo_119",
243
+ "tempo_122",
244
+ "tempo_125",
245
+ "tempo_128",
246
+ "tempo_131",
247
+ "tempo_134",
248
+ "tempo_137",
249
+ "tempo_140",
250
+ "tempo_143",
251
+ "tempo_146",
252
+ "tempo_149",
253
+ "tempo_152",
254
+ "tempo_155",
255
+ "tempo_158",
256
+ "tempo_161",
257
+ "tempo_164",
258
+ "tempo_167",
259
+ "tempo_170",
260
+ "tempo_173",
261
+ "tempo_176",
262
+ "tempo_179",
263
+ "tempo_182",
264
+ "tempo_185",
265
+ "tempo_188",
266
+ "tempo_191",
267
+ "tempo_194",
268
+ "tempo_197",
269
+ "tempo_200",
270
+ "tempo_203",
271
+ "tempo_206",
272
+ "tempo_209",
273
+ "tempo_212",
274
+ "tempo_215",
275
+ "tempo_218",
276
+ "tempo_221",
277
+ "tempo_224",
278
+ "pitch_21",
279
+ "pitch_22",
280
+ "pitch_23",
281
+ "pitch_24",
282
+ "pitch_25",
283
+ "pitch_26",
284
+ "pitch_27",
285
+ "pitch_28",
286
+ "pitch_29",
287
+ "pitch_30",
288
+ "pitch_31",
289
+ "pitch_32",
290
+ "pitch_33",
291
+ "pitch_34",
292
+ "pitch_35",
293
+ "pitch_36",
294
+ "pitch_37",
295
+ "pitch_38",
296
+ "pitch_39",
297
+ "pitch_40",
298
+ "pitch_41",
299
+ "pitch_42",
300
+ "pitch_43",
301
+ "pitch_44",
302
+ "pitch_45",
303
+ "pitch_46",
304
+ "pitch_47",
305
+ "pitch_48",
306
+ "pitch_49",
307
+ "pitch_50",
308
+ "pitch_51",
309
+ "pitch_52",
310
+ "pitch_53",
311
+ "pitch_54",
312
+ "pitch_55",
313
+ "pitch_56",
314
+ "pitch_57",
315
+ "pitch_58",
316
+ "pitch_59",
317
+ "pitch_60",
318
+ "pitch_61",
319
+ "pitch_62",
320
+ "pitch_63",
321
+ "pitch_64",
322
+ "pitch_65",
323
+ "pitch_66",
324
+ "pitch_67",
325
+ "pitch_68",
326
+ "pitch_69",
327
+ "pitch_70",
328
+ "pitch_71",
329
+ "pitch_72",
330
+ "pitch_73",
331
+ "pitch_74",
332
+ "pitch_75",
333
+ "pitch_76",
334
+ "pitch_77",
335
+ "pitch_78",
336
+ "pitch_79",
337
+ "pitch_80",
338
+ "pitch_81",
339
+ "pitch_82",
340
+ "pitch_83",
341
+ "pitch_84",
342
+ "pitch_85",
343
+ "pitch_86",
344
+ "pitch_87",
345
+ "pitch_88",
346
+ "pitch_89",
347
+ "pitch_90",
348
+ "pitch_91",
349
+ "pitch_92",
350
+ "pitch_93",
351
+ "pitch_94",
352
+ "pitch_95",
353
+ "pitch_96",
354
+ "pitch_97",
355
+ "pitch_98",
356
+ "pitch_99",
357
+ "pitch_100",
358
+ "pitch_101",
359
+ "pitch_102",
360
+ "pitch_103",
361
+ "pitch_104",
362
+ "pitch_105",
363
+ "pitch_106",
364
+ "pitch_107",
365
+ "pitch_108",
366
+ "duration_1",
367
+ "duration_2",
368
+ "duration_3",
369
+ "duration_4",
370
+ "duration_5",
371
+ "duration_6",
372
+ "duration_7",
373
+ "duration_8",
374
+ "duration_9",
375
+ "duration_10",
376
+ "duration_11",
377
+ "duration_12",
378
+ "duration_13",
379
+ "duration_14",
380
+ "duration_15",
381
+ "duration_16",
382
+ "duration_17",
383
+ "duration_18",
384
+ "duration_19",
385
+ "duration_20",
386
+ "duration_21",
387
+ "duration_22",
388
+ "duration_23",
389
+ "duration_24",
390
+ "duration_25",
391
+ "duration_26",
392
+ "duration_27",
393
+ "duration_28",
394
+ "duration_29",
395
+ "duration_30",
396
+ "duration_31",
397
+ "duration_32",
398
+ "velocity_0",
399
+ "velocity_4",
400
+ "velocity_8",
401
+ "velocity_12",
402
+ "velocity_16",
403
+ "velocity_20",
404
+ "velocity_24",
405
+ "velocity_28",
406
+ "velocity_32",
407
+ "velocity_36",
408
+ "velocity_40",
409
+ "velocity_44",
410
+ "velocity_48",
411
+ "velocity_52",
412
+ "velocity_56",
413
+ "velocity_60",
414
+ "velocity_64",
415
+ "velocity_68",
416
+ "velocity_72",
417
+ "velocity_76",
418
+ "velocity_80",
419
+ "velocity_84",
420
+ "velocity_88",
421
+ "velocity_92",
422
+ "velocity_96",
423
+ "velocity_100",
424
+ "velocity_104",
425
+ "velocity_108",
426
+ "velocity_112",
427
+ "velocity_116",
428
+ "velocity_120",
429
+ "velocity_124",
430
+ "reserved",
431
+ "reserved",
432
+ "reserved",
433
+ "reserved",
434
+ "reserved",
435
+ "reserved",
436
+ "reserved",
437
+ "reserved",
438
+ "reserved",
439
+ "reserved",
440
+ "reserved",
441
+ "reserved",
442
+ "reserved",
443
+ "reserved",
444
+ "reserved",
445
+ "reserved",
446
+ "reserved",
447
+ "reserved",
448
+ "reserved",
449
+ "reserved",
450
+ "reserved",
451
+ "reserved",
452
+ "reserved",
453
+ "reserved",
454
+ "reserved",
455
+ "reserved",
456
+ "reserved",
457
+ "reserved",
458
+ "reserved",
459
+ "reserved",
460
+ "reserved",
461
+ "reserved",
462
+ "reserved",
463
+ "reserved",
464
+ "reserved",
465
+ "reserved",
466
+ "reserved",
467
+ "reserved",
468
+ "reserved",
469
+ "reserved",
470
+ "reserved",
471
+ "reserved",
472
+ "reserved",
473
+ "reserved",
474
+ "reserved",
475
+ "reserved",
476
+ "reserved",
477
+ "reserved",
478
+ "reserved",
479
+ "reserved",
480
+ "reserved",
481
+ "reserved",
482
+ "reserved",
483
+ "reserved",
484
+ "reserved",
485
+ "reserved",
486
+ "reserved",
487
+ "reserved",
488
+ "reserved",
489
+ "reserved",
490
+ "reserved",
491
+ "reserved",
492
+ "reserved",
493
+ "reserved",
494
+ "reserved",
495
+ "reserved",
496
+ "reserved",
497
+ "reserved",
498
+ "reserved",
499
+ "reserved",
500
+ "reserved",
501
+ "reserved"
502
+ ]