Adjust the temperature to get more stable speech #569
normatovjj
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Sometimes lowering the temp like that increases stability, but it's not a general rule. It tends to be voice and prompt-style dependent. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From FAQ:
In fact, in order NOT to get random style each time, we can change the temp in the generation.py file. A few simple changes are necessary so that the end product looks like below: (copy the code below and paste in the beginning of the generaion.py file, these dictionaries serve as params that can be changed quickly whenever you want).
For this to work (!), the functions also need to be modified, see the second part of the code. Changing the temp to lower value allows for less "creative" output and a more stable speech. Try it for yourself. Once the generation.py is modified, you can run the model as normal.
There is also a way to output even more stable output/style using set_seed(). Let me know if someone is interested, I will reply below.
default_temp.mp4
lower_temp.mp4
Change functions to read the params:
Beta Was this translation helpful? Give feedback.
All reactions