STORY · VERKTOY_

Developer trained 125M-parameter transformer model for piano control with MIDI autocompletion

A developer trained a transformer model with 125 million parameters that can autocomplete piano performances in real time (~108 notes per second on iPhone 15). The work focused on proper MIDI representation, aggressive data cleaning, and DPO post-training, resulting in the RollTab app that runs the model on-device.

WHY IT MATTERS

The project demonstrates how small language models can solve specialized musical tasks on-device, and showcases practical techniques for designing efficient tokenizations and architectures for real-time inference on mobile devices.

SOURCES

MACHINE-GENERATED SUMMARY This summary is written by machine from the sources below. We sort and explain — but we are a way into the field, not the final word. Check the source when something matters to you.