Skip to content
·
Archived topic · source no longer tracked

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

AI summary

A developer trained a 125M-parameter transformer model to autocomplete piano performances in real time, achieving approximately 108 notes/sec on an iPhone 15. Key improvements stemmed from optimizing the MIDI representation, aggressive data cleaning, and implementing DPO post-training. Pairwise evaluation using Gemini 3.5 Flash helped build a preference dataset for DPO, by asking it to compare continuations rather than assign absolute scores, and mirroring comparisons to reduce position bias.

Time & source

Times shown in UTC

Display time zone: UTC

Local time zone unavailable; showing UTC.

IngestedOffset at this time: UTC+0Aug 20, 2026, 14:00 UTC

Ingested
Aug 20, 2026, 14:00
Source type
Unclassified