PABannier / bark.cpp

Suno AI's Bark model in C/C++ for fast text-to-speech
MIT License
630 stars 48 forks source link

model : supporting Bark small model #149

Closed PABannier closed 2 months ago

PABannier commented 2 months ago

This PR adds examples and instructions to support loading the Bark small model. The bulk of the work consists of writing a correct convert.py script to parse the model checkpoints properly.

Warning: this PR will introduce a breaking change Bark.cpp will now read Bark weights from a single file which contains all of the weights (the 3 GPT weights + the neural codec weights). We will no longer support 3 different files + the encodec weight. This should give a better user experience, and simplify the starting instructions.

Close #151