Skip to main content
JinzaiLab Ching Hsu's research, code, and music
← Works · Music

musicGPT Training

Converts MIDI and audio into ABC notation, builds a dataset, and fine-tunes a small language model with LoRA on a MacBook Air to write melodies.

Type
Research prototype
Status
Experimental
Year
2026
Built with
Python · MLX · Gemma 3 · Basic Pitch · ABC notation

Audio first goes through Basic Pitch to become MIDI, then gets converted to ABC notation and JSONL. Training uses MLX with small Gemma 3 models, and abc2midi checks whether the output is a valid score.