sandernotenbaert commited on
Commit
6383ba1
·
verified ·
1 Parent(s): 150367b

Upload structure model checkpoint at step 500

Browse files
checkpoint_500/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: mlx
3
+ pipeline_tag: text-generation
4
+ tags:
5
+ - music
6
+ - midi
7
+ - generation
8
+ - mlx
9
+ - autoregressive
10
+ - structure
11
+ - musiclang
12
+ ---
13
+
14
+ # okai-musiclang-structure v2.0 - Structure Model
15
+
16
+ This is an autoregressive structure generation model for music using MLX.
17
+
18
+ ## Model Details
19
+
20
+ - **Model Type**: Structure Generator (Autoregressive)
21
+ - **Version**: v2.0
22
+ - **Step**: 500
23
+ - **Architecture**: Transformer with causal language modeling
24
+ - **Vocabulary Size**: 4796
25
+ - **Model Dimension**: 256
26
+ - **Layers**: 6
27
+ - **Max Sequence Length**: 1024
28
+
29
+ ## Training Configuration
30
+
31
+ - **Batch Size**: 16
32
+ - **Learning Rate**: 1e-05
33
+ - **Training Steps**: 500
34
+
35
+ ## Usage
36
+
37
+ This model generates sequential music structure:
38
+ - Input: Song control tokens (genre, instruments, etc.)
39
+ - Output: Sequential bar structure with chords and tonality
40
+
41
+ Example generation:
42
+ ```
43
+ GENRE__ROCK SUBGENRE__ALTERNATIVE START BAR__1 CHORD_DEGREE__1 TONALITY_DEGREE__1 BAR__2 CHORD_DEGREE__4 TONALITY_DEGREE__5 ... WILL_END
44
+ ```
45
+
46
+ Generated with MLX framework for Apple Silicon.
checkpoint_500/config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "okai-musiclang-structure",
3
+ "model_version": "v2.0",
4
+ "model_type": "structure",
5
+ "global_step": 500,
6
+ "architecture": "AutoregressiveTransformer",
7
+ "training_type": "causal_lm",
8
+ "vocab_size": 4796,
9
+ "model_dim": 256,
10
+ "num_heads": 8,
11
+ "num_layers": 6,
12
+ "max_sequence_length": 1024,
13
+ "dropout": 0.1
14
+ }
checkpoint_500/model.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a45491a0a76bf4bf881abf6cdb8eb9c2124e13bfc0e77c778c7ac471229e4d4d
3
+ size 29839884
checkpoint_500/training_state.json ADDED
@@ -0,0 +1,529 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "global_step": 500,
3
+ "epoch": 0,
4
+ "trainer_step": 500,
5
+ "learning_rate": 4.999999873689376e-06,
6
+ "epoch_losses": [
7
+ 8.533641815185547,
8
+ 8.249370574951172,
9
+ 8.213305473327637,
10
+ 8.278966903686523,
11
+ 8.23258113861084,
12
+ 8.241193771362305,
13
+ 8.217904090881348,
14
+ 8.21481704711914,
15
+ 8.175235748291016,
16
+ 8.241929054260254,
17
+ 8.216574668884277,
18
+ 8.182279586791992,
19
+ 8.235946655273438,
20
+ 8.158271789550781,
21
+ 8.183603286743164,
22
+ 8.174986839294434,
23
+ 8.174087524414062,
24
+ 8.193735122680664,
25
+ 8.1138277053833,
26
+ 8.178915977478027,
27
+ 8.13733959197998,
28
+ 8.116848945617676,
29
+ 8.12458610534668,
30
+ 8.108814239501953,
31
+ 8.11782455444336,
32
+ 8.054926872253418,
33
+ 8.09478759765625,
34
+ 8.03462028503418,
35
+ 8.039204597473145,
36
+ 8.021127700805664,
37
+ 7.985850811004639,
38
+ 8.018377304077148,
39
+ 7.975757598876953,
40
+ 7.970521926879883,
41
+ 7.973249912261963,
42
+ 7.98308801651001,
43
+ 7.928061008453369,
44
+ 7.921592712402344,
45
+ 7.877164840698242,
46
+ 7.93072509765625,
47
+ 7.862425327301025,
48
+ 7.849054336547852,
49
+ 7.868475437164307,
50
+ 7.810122489929199,
51
+ 7.802501201629639,
52
+ 7.763761043548584,
53
+ 7.763960361480713,
54
+ 7.7838134765625,
55
+ 7.74245023727417,
56
+ 7.72191047668457,
57
+ 7.720407962799072,
58
+ 7.749114990234375,
59
+ 7.667845249176025,
60
+ 7.750572204589844,
61
+ 7.608697891235352,
62
+ 7.731229782104492,
63
+ 7.543056488037109,
64
+ 7.583296775817871,
65
+ 7.699796676635742,
66
+ 7.531789779663086,
67
+ 7.5622172355651855,
68
+ 7.552298069000244,
69
+ 7.47780704498291,
70
+ 7.545022010803223,
71
+ 7.474845886230469,
72
+ 7.508591651916504,
73
+ 7.597563743591309,
74
+ 7.467597961425781,
75
+ 7.43573522567749,
76
+ 7.430948734283447,
77
+ 7.401016712188721,
78
+ 7.387894153594971,
79
+ 7.382081508636475,
80
+ 7.391578197479248,
81
+ 7.341254234313965,
82
+ 7.398681640625,
83
+ 7.253234386444092,
84
+ 7.311158180236816,
85
+ 7.362645626068115,
86
+ 7.242771148681641,
87
+ 7.285556316375732,
88
+ 7.456370830535889,
89
+ 7.253568649291992,
90
+ 7.223536014556885,
91
+ 7.170419692993164,
92
+ 7.169544219970703,
93
+ 7.117415904998779,
94
+ 7.243345737457275,
95
+ 7.245051383972168,
96
+ 7.1828083992004395,
97
+ 7.133808135986328,
98
+ 7.0904765129089355,
99
+ 7.207395076751709,
100
+ 7.132864952087402,
101
+ 7.066303730010986,
102
+ 7.16894006729126,
103
+ 6.984847545623779,
104
+ 7.179343223571777,
105
+ 7.130866527557373,
106
+ 7.095851421356201,
107
+ 7.012323379516602,
108
+ 7.070097923278809,
109
+ 7.045478343963623,
110
+ 6.896512031555176,
111
+ 7.001674652099609,
112
+ 6.994753837585449,
113
+ 6.963001728057861,
114
+ 6.950398921966553,
115
+ 6.902371406555176,
116
+ 6.983620643615723,
117
+ 7.014571666717529,
118
+ 6.812811374664307,
119
+ 6.928337097167969,
120
+ 6.88639497756958,
121
+ 6.767388343811035,
122
+ 6.820084095001221,
123
+ 6.802022933959961,
124
+ 6.78419303894043,
125
+ 6.850407600402832,
126
+ 6.862349987030029,
127
+ 6.776767253875732,
128
+ 6.725618362426758,
129
+ 6.872492790222168,
130
+ 6.707313537597656,
131
+ 6.855022430419922,
132
+ 6.769525051116943,
133
+ 6.696621894836426,
134
+ 6.843217372894287,
135
+ 6.610928058624268,
136
+ 6.687578201293945,
137
+ 6.63771390914917,
138
+ 6.776702404022217,
139
+ 6.666480541229248,
140
+ 6.670825958251953,
141
+ 6.595132350921631,
142
+ 6.682031154632568,
143
+ 6.650390148162842,
144
+ 6.568670272827148,
145
+ 6.768202781677246,
146
+ 6.56696081161499,
147
+ 6.589775085449219,
148
+ 6.752619743347168,
149
+ 6.677834987640381,
150
+ 6.580569744110107,
151
+ 6.540944576263428,
152
+ 6.628304958343506,
153
+ 6.512032985687256,
154
+ 6.564898490905762,
155
+ 6.516762733459473,
156
+ 6.488214015960693,
157
+ 6.5563740730285645,
158
+ 6.598067760467529,
159
+ 6.400941848754883,
160
+ 6.468410491943359,
161
+ 6.355321407318115,
162
+ 6.513485431671143,
163
+ 6.520254611968994,
164
+ 6.55357027053833,
165
+ 6.450283527374268,
166
+ 6.414883136749268,
167
+ 6.390750408172607,
168
+ 6.445383071899414,
169
+ 6.432184219360352,
170
+ 6.3682169914245605,
171
+ 6.450988292694092,
172
+ 6.3371357917785645,
173
+ 6.364427089691162,
174
+ 6.268618583679199,
175
+ 6.296602725982666,
176
+ 6.311620712280273,
177
+ 6.48854398727417,
178
+ 6.3188910484313965,
179
+ 6.32512092590332,
180
+ 6.472036361694336,
181
+ 6.275857448577881,
182
+ 6.284448623657227,
183
+ 6.2503228187561035,
184
+ 6.342373847961426,
185
+ 6.21042013168335,
186
+ 6.335525035858154,
187
+ 6.289359092712402,
188
+ 6.382011890411377,
189
+ 6.3722944259643555,
190
+ 6.3691325187683105,
191
+ 6.447114944458008,
192
+ 6.339660167694092,
193
+ 6.313081741333008,
194
+ 6.297942161560059,
195
+ 6.2732720375061035,
196
+ 6.2748918533325195,
197
+ 6.259987831115723,
198
+ 6.403252601623535,
199
+ 6.137993812561035,
200
+ 6.1888227462768555,
201
+ 6.238926410675049,
202
+ 6.239675998687744,
203
+ 6.152273654937744,
204
+ 6.213259696960449,
205
+ 6.096896171569824,
206
+ 6.281241416931152,
207
+ 6.186800003051758,
208
+ 6.226377964019775,
209
+ 6.2115912437438965,
210
+ 6.077830791473389,
211
+ 6.114934921264648,
212
+ 6.136539936065674,
213
+ 5.997470378875732,
214
+ 5.985708713531494,
215
+ 6.144141674041748,
216
+ 6.092845439910889,
217
+ 6.141261100769043,
218
+ 6.006298542022705,
219
+ 6.142297267913818,
220
+ 5.961302757263184,
221
+ 5.958497047424316,
222
+ 6.083192825317383,
223
+ 6.037881374359131,
224
+ 6.070004463195801,
225
+ 6.023356914520264,
226
+ 5.999241828918457,
227
+ 6.23020076751709,
228
+ 5.8620405197143555,
229
+ 5.912690162658691,
230
+ 6.006953239440918,
231
+ 5.985997676849365,
232
+ 5.937958717346191,
233
+ 6.033136367797852,
234
+ 5.999087333679199,
235
+ 6.063783645629883,
236
+ 6.137297630310059,
237
+ 5.9147233963012695,
238
+ 5.865356922149658,
239
+ 5.946539402008057,
240
+ 5.763004302978516,
241
+ 6.061219692230225,
242
+ 5.817047119140625,
243
+ 5.999147891998291,
244
+ 5.780109405517578,
245
+ 5.843562126159668,
246
+ 5.952946662902832,
247
+ 5.953010082244873,
248
+ 5.726863861083984,
249
+ 5.912685871124268,
250
+ 5.788283348083496,
251
+ 5.8707780838012695,
252
+ 5.694561004638672,
253
+ 5.898619651794434,
254
+ 5.947425365447998,
255
+ 5.920815944671631,
256
+ 5.699347019195557,
257
+ 5.96458625793457,
258
+ 5.8879804611206055,
259
+ 5.765600204467773,
260
+ 5.977779865264893,
261
+ 5.714404582977295,
262
+ 5.73924446105957,
263
+ 5.690033435821533,
264
+ 5.687538146972656,
265
+ 5.639945030212402,
266
+ 5.629532814025879,
267
+ 5.711661338806152,
268
+ 5.7155866622924805,
269
+ 5.6287760734558105,
270
+ 5.625280380249023,
271
+ 5.7265400886535645,
272
+ 5.655271530151367,
273
+ 5.739659786224365,
274
+ 5.623749256134033,
275
+ 5.663809299468994,
276
+ 5.700953960418701,
277
+ 5.577744960784912,
278
+ 5.5986528396606445,
279
+ 5.596560001373291,
280
+ 5.548346996307373,
281
+ 5.595094680786133,
282
+ 5.479344367980957,
283
+ 5.42011833190918,
284
+ 5.441346645355225,
285
+ 5.580869674682617,
286
+ 5.466404914855957,
287
+ 5.457706928253174,
288
+ 5.851115703582764,
289
+ 5.428859233856201,
290
+ 5.542395114898682,
291
+ 5.520089149475098,
292
+ 5.5357666015625,
293
+ 5.481703281402588,
294
+ 5.452491283416748,
295
+ 5.426485061645508,
296
+ 5.42396354675293,
297
+ 5.3393940925598145,
298
+ 5.425936698913574,
299
+ 5.299767971038818,
300
+ 5.199957370758057,
301
+ 5.475584030151367,
302
+ 5.502594470977783,
303
+ 5.403427600860596,
304
+ 5.453193664550781,
305
+ 5.363380432128906,
306
+ 5.539879322052002,
307
+ 5.305394172668457,
308
+ 5.489497184753418,
309
+ 5.370314598083496,
310
+ 5.346648216247559,
311
+ 5.421552658081055,
312
+ 5.367100715637207,
313
+ 5.45701265335083,
314
+ 5.1264824867248535,
315
+ 5.539360523223877,
316
+ 5.080305576324463,
317
+ 5.405026912689209,
318
+ 5.2083048820495605,
319
+ 5.417178630828857,
320
+ 5.433363914489746,
321
+ 5.290194988250732,
322
+ 5.367462158203125,
323
+ 5.234984874725342,
324
+ 5.2744221687316895,
325
+ 5.15809965133667,
326
+ 5.1627068519592285,
327
+ 5.04408073425293,
328
+ 5.37129020690918,
329
+ 5.177445411682129,
330
+ 5.2997517585754395,
331
+ 5.147530555725098,
332
+ 5.243494033813477,
333
+ 5.315242290496826,
334
+ 5.541989326477051,
335
+ 5.516964912414551,
336
+ 5.160497188568115,
337
+ 5.043497085571289,
338
+ 5.038497447967529,
339
+ 5.227731704711914,
340
+ 5.276983261108398,
341
+ 5.3126983642578125,
342
+ 5.231666564941406,
343
+ 5.209484100341797,
344
+ 5.028507709503174,
345
+ 5.1026716232299805,
346
+ 4.957376956939697,
347
+ 5.071759223937988,
348
+ 5.149089336395264,
349
+ 5.12722635269165,
350
+ 5.054116249084473,
351
+ 5.050735950469971,
352
+ 5.071963787078857,
353
+ 5.1522440910339355,
354
+ 5.171833515167236,
355
+ 4.968806266784668,
356
+ 5.117867469787598,
357
+ 4.971498966217041,
358
+ 4.893161296844482,
359
+ 4.927934646606445,
360
+ 5.0174736976623535,
361
+ 5.079720973968506,
362
+ 5.020792484283447,
363
+ 5.239316463470459,
364
+ 5.034061431884766,
365
+ 4.875212669372559,
366
+ 4.9884161949157715,
367
+ 5.007253170013428,
368
+ 5.058053016662598,
369
+ 4.84358024597168,
370
+ 4.876876354217529,
371
+ 4.955864906311035,
372
+ 5.069127082824707,
373
+ 4.824237823486328,
374
+ 4.878872871398926,
375
+ 4.840477466583252,
376
+ 5.008471488952637,
377
+ 4.999197959899902,
378
+ 4.743509292602539,
379
+ 4.902215957641602,
380
+ 4.879490852355957,
381
+ 4.939825057983398,
382
+ 5.129141807556152,
383
+ 4.831119537353516,
384
+ 5.072861671447754,
385
+ 4.8664655685424805,
386
+ 4.868271827697754,
387
+ 4.750430107116699,
388
+ 4.6679911613464355,
389
+ 4.702034950256348,
390
+ 4.8597025871276855,
391
+ 4.798350811004639,
392
+ 4.854359149932861,
393
+ 4.682636260986328,
394
+ 4.816483974456787,
395
+ 5.196009635925293,
396
+ 4.88635778427124,
397
+ 4.942518711090088,
398
+ 4.897806644439697,
399
+ 4.658376216888428,
400
+ 4.691962242126465,
401
+ 4.7886857986450195,
402
+ 4.6910810470581055,
403
+ 4.66346549987793,
404
+ 4.64517068862915,
405
+ 4.694141387939453,
406
+ 4.813719272613525,
407
+ 4.691742897033691,
408
+ 4.687157154083252,
409
+ 4.742137908935547,
410
+ 4.76186990737915,
411
+ 4.621423721313477,
412
+ 4.580658912658691,
413
+ 4.608345031738281,
414
+ 4.6913275718688965,
415
+ 4.649319171905518,
416
+ 4.634782791137695,
417
+ 4.967245578765869,
418
+ 4.539463520050049,
419
+ 4.769240856170654,
420
+ 4.694432735443115,
421
+ 4.840438365936279,
422
+ 4.564076900482178,
423
+ 4.789333820343018,
424
+ 4.588627815246582,
425
+ 4.630906581878662,
426
+ 4.587449550628662,
427
+ 4.6729888916015625,
428
+ 4.848714828491211,
429
+ 4.505236625671387,
430
+ 4.412752628326416,
431
+ 4.601399898529053,
432
+ 4.687258720397949,
433
+ 4.542797088623047,
434
+ 4.705384254455566,
435
+ 4.6192169189453125,
436
+ 4.622165203094482,
437
+ 4.769464492797852,
438
+ 4.858829021453857,
439
+ 4.624948501586914,
440
+ 4.513854503631592,
441
+ 4.475278377532959,
442
+ 4.697529315948486,
443
+ 4.448596954345703,
444
+ 4.508578777313232,
445
+ 4.603858947753906,
446
+ 4.592143535614014,
447
+ 4.597321510314941,
448
+ 4.405484676361084,
449
+ 4.455957412719727,
450
+ 4.68441104888916,
451
+ 4.581703186035156,
452
+ 4.576325416564941,
453
+ 4.38858699798584,
454
+ 4.806777477264404,
455
+ 4.450065612792969,
456
+ 4.598170280456543,
457
+ 4.4968132972717285,
458
+ 4.4431867599487305,
459
+ 4.424848556518555,
460
+ 4.691896438598633,
461
+ 4.404933452606201,
462
+ 4.627661228179932,
463
+ 4.616960525512695,
464
+ 4.374143123626709,
465
+ 4.3904500007629395,
466
+ 4.51494026184082,
467
+ 4.344545841217041,
468
+ 4.251694679260254,
469
+ 4.376049995422363,
470
+ 4.394769191741943,
471
+ 4.3416337966918945,
472
+ 4.325849533081055,
473
+ 4.240214824676514,
474
+ 4.543012619018555,
475
+ 4.365054130554199,
476
+ 4.355646133422852,
477
+ 4.542186737060547,
478
+ 4.4532880783081055,
479
+ 4.388335704803467,
480
+ 4.364323139190674,
481
+ 4.449298858642578,
482
+ 4.362290859222412,
483
+ 4.298976898193359,
484
+ 4.212967395782471,
485
+ 4.4806742668151855,
486
+ 4.220837116241455,
487
+ 4.407044410705566,
488
+ 4.3456645011901855,
489
+ 4.286310195922852,
490
+ 4.43644905090332,
491
+ 4.452373504638672,
492
+ 4.337240695953369,
493
+ 4.4666924476623535,
494
+ 4.212227821350098,
495
+ 4.5424299240112305,
496
+ 4.221527576446533,
497
+ 4.183377265930176,
498
+ 4.348011493682861,
499
+ 4.2196431159973145,
500
+ 4.477828502655029,
501
+ 4.541874408721924,
502
+ 4.350090026855469,
503
+ 4.454653739929199,
504
+ 4.167858600616455,
505
+ 4.236715793609619,
506
+ 4.096307754516602
507
+ ],
508
+ "training_config": {
509
+ "batch_size": 16,
510
+ "num_epochs": 4,
511
+ "learning_rate": 1e-05,
512
+ "weight_decay": 0.01,
513
+ "warmup_steps": 1000,
514
+ "max_grad_norm": 1.0,
515
+ "eval_steps": 500,
516
+ "save_steps": 500
517
+ },
518
+ "model_config": {
519
+ "vocab_size": 4796,
520
+ "model_dim": 256,
521
+ "num_heads": 8,
522
+ "num_layers": 6,
523
+ "max_sequence_length": 1024,
524
+ "dropout": 0.1
525
+ },
526
+ "model_name": "okai-musiclang-structure",
527
+ "model_version": "v2.0",
528
+ "model_type": "structure"
529
+ }