File size: 2,016 Bytes
09d19ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
  "architectures": [
    "MIDIModel"
  ],
  "model_type": "midi_model",
  "n_embd": 1024,
  "net_config": {
    "hidden_size": 1024,
    "intermediate_size": 4096,
    "max_position_embeddings": 4096,
    "model_type": "llama",
    "num_attention_heads": 16,
    "num_hidden_layers": 12,
    "num_key_value_heads": 16,
    "pad_token_id": 0,
    "use_cache": false,
    "vocab_size": 3406
  },
  "net_token_config": {
    "hidden_size": 1024,
    "intermediate_size": 1024,
    "max_position_embeddings": 4096,
    "model_type": "llama",
    "num_attention_heads": 4,
    "num_hidden_layers": 3,
    "num_key_value_heads": 4,
    "pad_token_id": 0,
    "use_cache": false,
    "vocab_size": 3406
  },
  "tokenizer": {
    "bos_id": 1,
    "eos_id": 2,
    "event_parameters": {
      "bpm": 384,
      "channel": 16,
      "controller": 128,
      "dd": 4,
      "duration": 2048,
      "mi": 2,
      "nn": 16,
      "patch": 128,
      "pitch": 128,
      "sf": 15,
      "time1": 128,
      "time2": 16,
      "track": 128,
      "value": 128,
      "velocity": 128
    },
    "events": {
      "control_change": [
        "time1",
        "time2",
        "track",
        "channel",
        "controller",
        "value"
      ],
      "key_signature": [
        "time1",
        "time2",
        "track",
        "sf",
        "mi"
      ],
      "note": [
        "time1",
        "time2",
        "track",
        "channel",
        "pitch",
        "velocity",
        "duration"
      ],
      "patch_change": [
        "time1",
        "time2",
        "track",
        "channel",
        "patch"
      ],
      "set_tempo": [
        "time1",
        "time2",
        "track",
        "bpm"
      ],
      "time_signature": [
        "time1",
        "time2",
        "track",
        "nn",
        "dd"
      ]
    },
    "max_token_seq": 8,
    "optimise_midi": true,
    "pad_id": 0,
    "version": "v2",
    "vocab_size": 3406
  },
  "torch_dtype": "bfloat16",
  "transformers_version": "4.44.2"
}