andreasjansson / music-inpainting-bert

Music inpainting of melody and chords

  • Public
  • 8.5K runs
  • GitHub
  • License

Run time and cost

This model costs approximately $0.0014 to run on Replicate, or 714 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

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.

Readme

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.