PyTorch
English
midigpt
music
midi
symbolic-music
music-generation
gpt2
MIDI-GPT / yellow_encoder.json
paultriana's picture
Add yellow encoder config
32df3b1 verified
Raw
History Blame Contribute Delete
3.01 kB
{
"attribute_controls": [
{
"name": "note_density_quantile"
},
{
"name": "polyphony_quantile",
"params": {
"mode": "min"
}
},
{
"name": "polyphony_quantile",
"params": {
"mode": "max"
}
},
{
"name": "note_duration_quantile",
"params": {
"mode": "min"
}
},
{
"name": "note_duration_quantile",
"params": {
"mode": "max"
}
}
],
"decode_resolution": 1920,
"emit_delta_tokens": false,
"instrument_merge_groups": [
[
0,
1,
2
],
[
4,
5
],
[
16,
17,
18
],
[
19,
20
],
[
33,
34
],
[
36,
37
],
[
38,
39
],
[
48,
49
],
[
50,
51
],
[
62,
63
],
[
88,
89,
90,
91,
92,
93,
94,
95
]
],
"note_duration_max_beats": 8,
"num_bars_map": [
4,
8
],
"pitch_range": [
0,
127
],
"resolution": 12,
"supports_infill": true,
"supports_mask_bar_token": false,
"time_signatures": [
"1/2",
"1/4",
"1/8",
"1/16",
"2/1",
"2/2",
"2/4",
"2/8",
"3/1",
"3/2",
"3/4",
"3/8",
"4/2",
"4/4",
"4/8",
"5/4",
"5/8",
"6/2",
"6/4",
"6/8",
"7/4",
"7/8",
"8/4",
"8/8",
"9/4",
"9/8",
"9/16",
"10/4",
"10/8",
"11/8",
"12/4",
"12/8",
"13/16",
"15/16",
"16/4",
"17/16"
],
"token_domains": [
{
"domain_size": 2,
"type": "PieceStart"
},
{
"domain_size": 2,
"type": "Track"
},
{
"domain_size": 1,
"type": "TrackEnd"
},
{
"domain_size": 1,
"type": "Bar"
},
{
"domain_size": 1,
"type": "BarEnd"
},
{
"domain_size": 36,
"type": "TimeSig"
},
{
"domain_size": 109,
"type": "Instrument"
},
{
"domain_size": 2,
"type": "NumBars"
},
{
"domain_size": 128,
"type": "NoteOnset"
},
{
"domain_size": 96,
"type": "NoteDuration"
},
{
"domain_size": 192,
"type": "TimeAbsolutePos"
},
{
"domain_size": 32,
"type": "VelocityLevel"
},
{
"domain_size": 1,
"type": "FillInPlaceholder"
},
{
"domain_size": 1,
"type": "FillInStart"
},
{
"domain_size": 1,
"type": "FillInEnd"
},
{
"domain_size": 10,
"type": "NoteDensity"
},
{
"domain_size": 10,
"type": "MinPolyphony"
},
{
"domain_size": 10,
"type": "MaxPolyphony"
},
{
"domain_size": 6,
"type": "MinNoteDuration"
},
{
"domain_size": 6,
"type": "MaxNoteDuration"
}
],
"velocity_levels": 32,
"velocity_sticky": true
}