ELSEIF
Your brief EB
378 stories from 115 feeds 448 clusters Refreshed 2 minutes ago next pull 14:07

TECH Signal 501

125M transformer autocompletes piano at 108 notes/sec on iPhone

A developer trained a 125M-parameter transformer that autocompletes piano performances in real-time on an iPhone, achieving approximately 108 notes per second.

WHY IT MATTERS

This demonstrates that small transformer models can produce musically coherent output on mobile hardware without cloud dependency. The key insight is that representation design, specifically encoding each note as a single token with explicit duration, eliminates drift problems and reduces computational cost per note.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

The final MIDI representation encodes each note as one token with pitch, delta_onset, duration, and velocity, requiring one transformer pass per note instead of four.

02

The model runs at approximately 108 notes/sec on an iPhone 15, exceeding the rate needed for live piano performance.

03

The biggest improvements came from the MIDI representation choice, aggressive training data cleaning, and DPO post-training.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
simedw.com via Hacker News Show HN: I trained a 125M model to autocomplete piano on-device Open ↗