Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

duetto: steering a pretrained music transformer into a live jazz partner

duetto uses the pretrained Anticipatory Music Transformer without fine-tuning, editing logits at sampling time (masking disallowed notes, biasing chord tones and quoted phrases) to act as a small jazz band alongside a MIDI keyboard player. About 61% of solo…

Published Read the original

Why it matters

A neat example of constrained decoding as an alternative to fine-tuning for controlling model output.

What happened

1 min read

duetto uses the pretrained Anticipatory Music Transformer without fine-tuning, editing logits at sampling time (masking disallowed notes, biasing chord tones and quoted phrases) to act as a small jazz band alongside a MIDI keyboard player. About 61% of solo notes come from Weimar Jazz Database phrases, and it runs at 12-18 ms per note on an RTX 3080 Ti.

inscraper analysis

Our analysis

Sampling-time steering generalizes to other domains, but the author admits the balance between rules and model output is fragile. It is a personal project under a noncommercial license.

More in Research