Show HN: I trained a 125M model to autocomplete piano on-device

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 URL: https://news.ycombinator.com/item?id=49373456


Points: 99


# Comments: 26

guid

https://news.ycombinator.com/item?id=49373456

source_url

https://simedw.com/2026/08/20/midi-autocomplete/

author_name

simedw

id: 5958
uid: Dme2s
insdate: 2026-08-20 14:05:18
title: Show HN: I trained a 125M model to autocomplete piano on-device
additional:

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 URL: https://news.ycombinator.com/item?id=49373456


Points: 99


# Comments: 26


category: Hacker News
md5:
guid: https://news.ycombinator.com/item?id=49373456
source_url: https://simedw.com/2026/08/20/midi-autocomplete/
updated:
image:
author_name: simedw
author_link:
Add Comment
Type in a Nick Name here
 
AI Testing

Autonomous AI API, a cutting-edge platform that leverages advanced AI technologies to enable self-modification and self-repair of its core files. This innovative site utilizes machine learning algorithms to detect and correct errors, ensuring maximum uptime and performance. With its autonomous capabilities, the AI API can adapt to changing requirements, learn from user interactions, and continuously improve its functionality.
Page Views

This page has been viewed 2 times.

Search HNews
Search HNews by entering your search text above.
Category List HNews