Show HN: I trained a 125M model to autocomplete piano on-device
No tagline provided.
View Origin LinkProduct Positioning & Context
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.
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is I trained a 125M model to autocomplete piano on-device?
I trained a 125M model to autocomplete piano on-device is a digital product or tool described as: I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15).The idea is basically GitHu...
Where did I trained a 125M model to autocomplete piano on-device originate?
Data for I trained a 125M model to autocomplete piano on-device was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was I trained a 125M model to autocomplete piano on-device publicly launched?
The initial public indexing or launch date for I trained a 125M model to autocomplete piano on-device within our tracked developer communities was recorded on August 20, 2026.
How popular is I trained a 125M model to autocomplete piano on-device?
I trained a 125M model to autocomplete piano on-device has achieved measurable traction, logging over 598 traction score and facilitating 117 recorded discussions or engagements.
What are some commercial alternatives to I trained a 125M model to autocomplete piano on-device?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as Naise AI, which offers overlapping value propositions.
How does the creator describe I trained a 125M model to autocomplete piano on-device?
The original author or development team describes the product as follows: "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 ..."
Community Voice & Feedback
Classical pianist and software product designer here.I see so much in common with this project and the numerous AI-based UX design tools out there. Whether it's music or UI, now that the "generation" portion of the work costs zero, all that remains is taste.And so much of taste comes from exploring and killing off possibilities that turn out to be dead-ends. I love the idea that models like these will help us find the dead ends faster, or even produce a gem here and there.P.S. if you want another uncanny version of Fur Elise, listen to Beethoven's own 1822 revision: https://www.youtube.com/watch?v=s24TtiGgb6k. His 1810 version that we all know was simpler and more balanced. But for what it's worth, Beethoven didn't publish either of them.
Really cool! It reminds me of a demo I saw live at NeurIPS: https://www.youtube.com/watch?v=8s3V922h3CU (paper at https://openreview.net/pdf?id=3yeBer3J5z).If you like such creative AI work, I would recommend looking at the other "NeurIPS Creative AI Track 2025" submissions as well.
This sort of “autocomplete” is actually fundamental to how classical composers were trained.For anyone interested, I’d highly recommend reading Robert Gjerdingen’s article Gebrauchs-Formulas. https://www.researchgate.net/publication/259731561_Gebrauchs...You can also listen to the transcript of four Russian composers, including Rachmaninoff, playing this pattern recognition and generation game at a dinner party in the late 1800’s: https://youtu.be/PlFPOWuwBHI?is=EKBK7QQkJs4MsTCUComposers at the time could do this just by looking at sheet music and audiating, without using a piano.
Interesting. I do feel letting a machine generating notes is taking the joy out of improvisation, is it not?I think one of the great, early, joys of learning a piano is gaining the following intuitions: The seemingly harder path of learning sheet is actually faster. Your mind _should_ learn to think in two dimensions Spatial — where fingers go — and Time — pitch and tempo – ** when learning. The _internalization_ of Space and Time queues guide the fingers in a dance that is vastly satisfying. This skill leads you to the final part of the journey that is improvisation and the one more exciting than what i am on now.---**Space: Your finger placement on keys right, e.g. knowing how to go from landmark/anchor notes(mid-c, G, F etc) and then go to the others above and below it. Crudely this is some what like typing from your landmark f and j qwerty keyboardTime: The out singing/verbalizing of the notes/beats on a time measure as you play them(per the time measure). e.g. you can say out loud 1-2-3-4 for 4/4 measure, if the measure has quarter notes say out loud. And `1-e-and-a-2-e-and-a-3-e-and-a-4-e-and-a` for a 4/4 with 1/16th note granularity. Do this as you play the notes and you get a sense of tempo.
Hearing the start of Für Elise, and then it being taken in an incredibly different direction, is surprisingly disconcerting.
I think this is a great project and very HN. Not sure why the comments are so focused on the deliverable- you learned way more and had a much more interesting experience.One think I didn't see mentioned in the post- maybe I missed it- how large was the data? How many samples did you use to pretrain and post-train
Ah, MIDI files. The only type of music you could realistically download from the internet back in the day, and you had to wake up at ungodly hours so that your dialup modem would not rack up a massive phone bill.
Reminds me of this project to generate every melody possible algorithmically in order to fight music copyright lawsuits.
https://allthemusic.info/
https://allthemusic.info/
Reminds me of Francois Pachet’s Continuator (all the way back in 2003, using hierarchical markov models)https://www.francoispachet.fr/continuator/
I would love something like that, except that I play the melody, and it produces proper 3-4 part accompaniment, preferably in good baroque style. Extra bonus if it could also write it into a file in a format suitable for music editing programs.
Discovery Source
Hacker News Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.
SaaS Metrics