Skip to content

EEexplorer001/symbolic_music_generation_transformers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

symbolic_music_generation_transformers

Project Members

Yumeng Zhang, Junyi Liu, Yifan Zhou

Data

We use GiantMIDI-Piano and Pop909 as our training data. You can also access the dataset from the following Google Drive link:

GiantMIDI-Piano: https://drive.google.com/drive/folders/1IfI70HxlBKiuUGPT4_0OY4bZG0pmJz_x?usp=sharing

Pop909: https://drive.google.com/drive/folders/1KSwmvu4SGJM2arzWiNDE3h1UEwk7koPI?usp=sharing

Usage

GPT-2: To run the training and generation code, clone the repository

git clone https://github.com/EEexplorer001/symbolic_music_generation_transformers.git

Then run the run.ipynb in the GPT_music folder. You can change the data path, token path, model save path and generation path to your own.

Theme transformer: run ThemeTransformer.ipynb in theme_transformer folder.

Reference

Some of the code is based on the following two code base:

Miditok: https://github.com/Natooz/MidiTok

Theme transformer: https://github.com/atosystem/ThemeTransformer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published