Get a weekly rundown of the latest AI models and research... subscribe!

Music Inpainting Bert


AI model preview image
music-inpainting-bert is a deep learning model designed to inpaint missing musical melody and chords. It uses the BERT architecture and takes in a sequence of tokens representing the existing music and generates plausible completions for the missing parts. The model has been trained on a large corpus of musical data and can be used to generate melodic and harmonic suggestions for music composition and arrangement.

Use cases

The music-inpainting-bert model has several potential use cases for technical users. One possible application is in the field of music composition, where the model can be used as a tool to generate creative melodic and harmonic suggestions for composers. It can fill in missing sections of a piece of music or provide variations on existing melodies and chords. Another use case could be in the field of music arrangement, where the model can aid in the process of arranging a piece of music by suggesting different ways to fill in missing parts or modify existing sections. Additionally, the model could be integrated into music production software, allowing producers and musicians to quickly generate ideas and explore different possibilities for their compositions. Overall, the music-inpainting-bert model has the potential to be a valuable tool in the music creation process, providing inspiration and assistance to composers, arrangers, and producers.


Cost per run
Avg run time
Nvidia T4 GPU

Creator Models

Musicgen Bacharach Chord$?29
Llama 2 70b Chat Gguf$?1,886
Musicgen Trance Chord$?123

Similar Models

No similar models found

Try it!

You can use this area to play around with demo applications that incorporate the Music Inpainting Bert model. These demos are maintained and hosted externally by third-party creators. If you see an error, message me on Twitter.

Currently, there are no demos available for this model.


Summary of this model and related resources.

Model NameMusic Inpainting Bert
Music inpainting of melody and chords
Model LinkView on Replicate
API SpecView on Replicate
Github LinkView on Github
Paper LinkNo paper link provided


How popular is this model, by number of runs? How popular is the creator, by the sum of all their runs?

Model Rank
Creator Rank


How much does it cost to run this model? How long, on average, does it take to complete a run?

Cost per Run$0.00385
Prediction HardwareNvidia T4 GPU
Average Completion Time7 seconds