Lurker News
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15).

The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device.
The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.

Comments (117) 65 threads

Earlier comments
cillianpower#
This would make a brilliant VST or Max 4 Live device if you would ever consider doing so.
dandaka#
I would love to see a jamming partner. So I could play along him on the same piece.
lvbyte#
Any way to share the actual model? I don't have an iPhone to run the app on.
theschwa1 reply#
Would you be willing to share about how much it cost to train a model like this?
simedw#
Luckily I have access to 4x RTX 4090s, so I didn’t have to pay cloud GPU prices directly. If I had, it probably would have added up quite a bit given how many training runs and experiments I ended up doing.

Load more comments