{"by":"simedw","descendants":117,"id":49373456,"kids":[49375955,49375352,49378199,49374380,49375748,49377213,49374339,49375833,49374197,49374623,49377995,49383322,49374300,49375371,49373700,49400045,49377302,49374316,49375900,49373738,49374420,49377970,49374249,49374395,49376572,49374793,49374355,49384033,49380651,49374837,49378917,49374384,49377781,49377036,49398867,49376725,49380875,49373678,49383703,49376750,49374571,49376365,49404181,49383191,49381911,49378775,49374340,49375713,49374948,49377832,49376258,49376158,49376221,49375187,49376286,49386112,49396690,49375272,49381061,49397428,49391111,49375239,49378080,49378721,49373681],"score":598,"text":"I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes&#x2F;sec on an iPhone 15).<p>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.<p>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&#x27;t work.","time":1787227478,"title":"Show HN: I trained a 125M model to autocomplete piano on-device","type":"story","url":"https://simedw.com/2026/08/20/midi-autocomplete/"}