andreasjansson / music-inpainting-bert

Music inpainting of melody and chords

  • Public
  • 7.8K runs
  • GitHub
  • License



Run time and cost

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 7 seconds. The predict time for this model varies significantly based on the inputs.


Music inpainting with BERT

This model generates monophonic melody and chords jointly, by filling in missing pieces.

In the notes and chords inputs, you can use ? to let the machine generate notes and chords for a bar at a time. See and tweak the examples to get a better idea of how it works.

Notes are input in TinyNotation format.

This model was trained on the Wikifonia dataset.