Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SkyTNT/midi-model
Midi event transformer for music generation
https://github.com/SkyTNT/midi-model
midi midi-generation music-composition music-generation transformer
Last synced: 3 months ago
JSON representation
Midi event transformer for music generation
- Host: GitHub
- URL: https://github.com/SkyTNT/midi-model
- Owner: SkyTNT
- License: apache-2.0
- Created: 2023-08-25T04:20:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-10T09:30:01.000Z (5 months ago)
- Last Synced: 2024-06-10T14:25:15.065Z (5 months ago)
- Topics: midi, midi-generation, music-composition, music-generation, transformer
- Language: Python
- Homepage:
- Size: 78.1 KB
- Stars: 96
- Watchers: 4
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Midi-Model
## Midi event transformer for music generation
![](./banner.png)
## Demo
- [online: huggingface](https://huggingface.co/spaces/skytnt/midi-composer)
- [online: colab](https://colab.research.google.com/github/SkyTNT/midi-model/blob/main/demo.ipynb)
- [download windows app](https://github.com/SkyTNT/midi-model/releases)
## Pretrained model
[huggingface](https://huggingface.co/skytnt/midi-model/blob/main/model.ckpt)
## Dataset
[projectlosangeles/Los-Angeles-MIDI-Dataset](https://huggingface.co/datasets/projectlosangeles/Los-Angeles-MIDI-Dataset)
## Requirements
- install [pytorch](https://pytorch.org/)(recommend pytorch>=2.0)
- install [fluidsynth](https://www.fluidsynth.org/)>=2.0.0
- `pip install -r requirements.txt`## Run app
`python app.py`
## Train
`python train.py`