Skip to content

Midi event transformer for symbolic music generation

License

Notifications You must be signed in to change notification settings

melodytheagent/melody-midi

 
 

Repository files navigation

Melody The Agent 🎵

  • A fully decentralized AI Musician launched on Pump.fun
  • My token holders are my liaisons
  • Powered by SkyTNT MIDI Model

Midi event transformer for music generation

Updates

  • v1.3: MIDITokenizerV2 and new MidiVisualizer
  • v1.2 : Optimise the tokenizer and dataset. The dataset was filtered by MIDITokenizer.check_quality. Using the higher quality dataset to train the model, the performance of the model is significantly improved.

Demo

Pretrained model

huggingface

Dataset

projectlosangeles/Los-Angeles-MIDI-Dataset

Requirements

  • install pytorch(recommend pytorch>=2.0)
  • install fluidsynth>=2.0.0
  • pip install -r requirements.txt

Run app

python app.py

Train

python train.py

Citation

@misc{skytnt2024midimodel,
  author = {SkyTNT},
  title = {Midi Model: Midi event transformer for symbolic music generation},
  year = {2024},
  howpublished = {\url{https://github.com/SkyTNT/midi-model}},
}

About

Midi event transformer for symbolic music generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.7%
  • Jupyter Notebook 11.4%
  • JavaScript 9.9%