{"id":22778938,"url":"https://github.com/skytnt/midi-model","last_synced_at":"2025-05-16T18:07:18.963Z","repository":{"id":190666726,"uuid":"682871550","full_name":"SkyTNT/midi-model","owner":"SkyTNT","description":"Midi event transformer for symbolic music generation","archived":false,"fork":false,"pushed_at":"2024-12-31T02:33:08.000Z","size":190,"stargazers_count":264,"open_issues_count":4,"forks_count":43,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-12T17:46:37.113Z","etag":null,"topics":["midi","midi-generation","music-composition","music-generation","symbolic-music-generation","transformer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SkyTNT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-25T04:20:15.000Z","updated_at":"2025-04-01T23:24:57.000Z","dependencies_parsed_at":"2024-11-04T18:33:21.990Z","dependency_job_id":"dd3646f1-a486-4059-9385-6c6a8b050009","html_url":"https://github.com/SkyTNT/midi-model","commit_stats":{"total_commits":123,"total_committers":3,"mean_commits":41.0,"dds":"0.024390243902439046","last_synced_commit":"f504d5cb58f769ab0f2909c679238f6621034573"},"previous_names":["skytnt/midi-model"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyTNT%2Fmidi-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyTNT%2Fmidi-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyTNT%2Fmidi-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyTNT%2Fmidi-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkyTNT","download_url":"https://codeload.github.com/SkyTNT/midi-model/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582907,"owners_count":22095518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["midi","midi-generation","music-composition","music-generation","symbolic-music-generation","transformer"],"created_at":"2024-12-11T20:07:19.648Z","updated_at":"2025-05-16T18:07:18.942Z","avatar_url":"https://github.com/SkyTNT.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Midi-Model\n\n## Midi event transformer for music generation\n\n![](./banner.png)\n\n## Updates\n- v1.3: MIDITokenizerV2 and new MidiVisualizer\n- 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.\n\n## Demo\n\n- [online: huggingface](https://huggingface.co/spaces/skytnt/midi-composer)\n\n- [online: colab](https://colab.research.google.com/github/SkyTNT/midi-model/blob/main/demo.ipynb)\n\n- [download windows app](https://github.com/SkyTNT/midi-model/releases)\n\n## Pretrained model\n\n[huggingface](https://huggingface.co/skytnt/midi-model-tv2o-medium)\n\n## Dataset\n\n[projectlosangeles/Los-Angeles-MIDI-Dataset](https://huggingface.co/datasets/projectlosangeles/Los-Angeles-MIDI-Dataset)\n\n## Requirements\n\n- install [pytorch](https://pytorch.org/)(recommend pytorch\u003e=2.0)\n- install [fluidsynth](https://www.fluidsynth.org/)\u003e=2.0.0\n- `pip install -r requirements.txt`\n\n## Run app\n\n`python app.py`\n\n## Train \n\n`python train.py`\n \n## Citation\n\n```bibtex\n@misc{skytnt2024midimodel,\n  author = {SkyTNT},\n  title = {Midi Model: Midi event transformer for symbolic music generation},\n  year = {2024},\n  howpublished = {\\url{https://github.com/SkyTNT/midi-model}},\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskytnt%2Fmidi-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskytnt%2Fmidi-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskytnt%2Fmidi-model/lists"}