Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to accurately set up prompt? #116

Closed
qbc2016 opened this issue Sep 25, 2023 · 3 comments
Closed

How to accurately set up prompt? #116

qbc2016 opened this issue Sep 25, 2023 · 3 comments

Comments

@qbc2016
Copy link

qbc2016 commented Sep 25, 2023

Hi! I've tried different prompts, but the results are very strange. See the following examples:

  1. Precision: fp32. Prompt: "one two three four five six seven eight nine ten." The output is 9 seconds long, but it
    only takes the first 3s to read out "eight nine ten", and the other 6s almost contain nothing.
  2. Precision: q4. Prompt: "one two three four five six seven eight nine ten." The output is a 12-second-long murmur
  3. Precision: q4. Prompt: "one two three four five six." The output only reads out "two three four five six".
    There are also some issues that occur when using different random seeds or prompts like "[MAN] one two three four five six" and "[happy piano music, playing for ten seconds]".
    Are there any solutions or suggestions for setting the prompts accurately (especially for playing music)? Thx!
@PABannier
Copy link
Owner

Hi @qbc2016 ! Thanks for flagging this out.

bark.cpp is not stable yet in that most prompts still yield non sense. It turns out that there was a bug in the implementation of the 1d convolution that we are solving. Hopefully after this fix, we should have more stable input.

As for the music, we're looking for people to contribute to the repo and accelerate the support of models like Audiocraft.

@qbc2016
Copy link
Author

qbc2016 commented Oct 9, 2023

Thanks for your reply!

@PABannier
Copy link
Owner

@qbc2016 The issue should be fixed with #139 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants