Run preprocessing.ipynb Modify daestro_dir into your own maestro dataset path in the file.
Training
Modify the data_dirs and load_dir, save_dir. data_dirs: the directories to load preprocessed data files load_dir: the directory to load a model save_dir: the directory to save a model
Run Music-GPT-2.ipynb you can increase the batch size by changing batch_size variable.
Inference
Run 'Output MIDI file' cell in Music-GPT-2.ipynb to make a new MIDI file. You should input load_dir, and variable N means the sequence length of what you want to make. It should be greater than the hyper-parameter n_time.