File size: 3,680 Bytes
6276259
 
ffa2521
 
 
3d4d6a6
ffa2521
3d4d6a6
ffa2521
3d4d6a6
 
 
36c0cc2
 
 
 
3d4d6a6
57226a5
3d4d6a6
 
36c0cc2
57226a5
 
6276259
ffa2521
 
 
 
 
 
 
 
 
 
97744e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ead45c7
97744e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ffa2521
 
 
 
 
 
 
0440c3d
 
 
 
 
 
 
 
 
 
a928126
 
0440c3d
 
cc5aad7
 
 
 
 
 
 
 
 
 
 
 
 
 
0440c3d
ffa2521
 
 
 
36c0cc2
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
---
license: cc-by-nc-sa-4.0
tags:
- midi
- dataset
- midi dataset
- music
- music ai
- mir
- gpu search
- gpu midi search
- midi search
- monster
- MIDI
- giant
- MIR
size_categories:
- 1M<n<10M
language:
- en
pretty_name: monstermidi
task_categories:
- audio-classification
---

# Monster MIDI Dataset
## Giant searchable raw MIDI dataset for MIR and Music AI purposes

![Monster-MIDI-Dataset-Logo (8)](https://github.com/asigalov61/Monster-MIDI-Dataset/assets/56325539/d5648673-97c1-40e3-ad57-c03c639592a3)

***

## Monster MIDI Dataset GPU Search and Filter

### [NEW] Monster GPU/CPU Search and Filter stand-alone Python module with improved matching

#### Installation

##### Install requirements

```sh
!git clone --depth 1 https://github.com/asigalov61/Monster-MIDI-Dataset

!pip install cupy-cuda12x
!pip install numpy==1.24.4
!pip install huggingface_hub
!pip install hf-transfer
!pip install ipywidgets
!pip install tqdm
```

##### Import modules

```python
import os
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"

from huggingface_hub import hf_hub_download

%cd ./Monster-MIDI-Dataset
import monster_search_and_filter
%cd ..
```

##### Download and unzip Monster MIDI dataset

```python
hf_hub_download(repo_id='projectlosangeles/Monster-MIDI-Dataset',
                repo_type='dataset',
                filename='Monster-MIDI-Dataset-Ver-1-0-CC-BY-NC-SA.zip',
                local_dir='./Monster-MIDI-Dataset/'
                )
```

```sh
%cd ./Monster-MIDI-Dataset
!unzip -o Monster-MIDI-Dataset-Ver-1-0-CC-BY-NC-SA.zip > /dev/null
%cd ..
```

##### Run the search

```python
sigs_data_path = './Monster-MIDI-Dataset/SIGNATURES_DATA/MONSTER_SIGNATURES_DATA.pickle'

sigs_data = monster_search_and_filter.load_pickle(sigs_data_path)
sigs_dicts = monster_search_and_filter.load_signatures(sigs_data)
X, global_union = monster_search_and_filter.precompute_signatures(sigs_dicts)

monster_search_and_filter.search_and_filter(sigs_dicts, X, global_union)
```

### [LEGACY]

[![Open In Colab][colab-badge]][colab-notebook1]

[colab-notebook1]: <https://colab.research.google.com/github/asigalov61/Monster-MIDI-Dataset/blob/main/Monster_MIDI_Dataset_GPU_Search_and_Filter.ipynb>
[colab-badge]: <https://colab.research.google.com/assets/colab-badge.svg>

### Search, filter and explore Monster MIDI Dataset :)

#### PLEASE NOTE: Google Colab Pro or Pro+ subscription/A100 GPU is required to use the provided colab/code because of the size of the dataset and its data files

***

## Monster MIDI Dataset Sample Search Results

### Here are the [Monster MIDI Dataset Sample Search Results](https://huggingface.co/datasets/projectlosangeles/Monster-MIDI-Dataset/blob/main/Monster_MIDI_Dataset_Search_Results_Ver_1_0_CC_BY_NC_SA.zip)

### It takes about one hour on A100 GPU to do a full search on 285 source MIDIs

### Please also check out [Quad Music Transformer](https://github.com/asigalov61/Quad-Music-Transformer) which was trained using these sample search results

***

## Monster Music Transformer

### Here is the large model trained on the full Monster MIDI Dataset to demo the dataset in action :)

[![Open In Colab][colab-badge]][colab-notebook2]

[colab-notebook2]: <https://colab.research.google.com/github/asigalov61/Monster-MIDI-Dataset/blob/main/Monster_Music_Transformer.ipynb>
[colab-badge]: <https://colab.research.google.com/assets/colab-badge.svg>

### Model was trained on full Monster MIDI Dataset for 65 hours (1 epoch) @ 4 batches on a single H100 GPU
### This model can be used for music generation/composition or for (dataset) embeddings exploration

***

### Enjoy and please CC BY-NC-SA :)

***

### Project Los Angeles
### Tegridy Code 2025