MOSS-TTS-Nano icon indicating copy to clipboard operation
MOSS-TTS-Nano copied to clipboard

如何优化单发音人效果

Open fmsky opened this issue 7 months ago • 2 comments

按README.md的默认超参进行SFT,做单一发音人优化,合成音频相似度没有base模型高,请问我可以调整哪些超参数来优化?

fmsky avatar Apr 21 '26 07:04 fmsky

Thanks for the feedback.

We suggest starting with the following finetuning hyperparameters:

  • learning-rate: try lowering it first, for example from 1e-5 to 5e-6, and if needed further to 2e-6. In single-speaker, small-data settings, a learning rate that is too large can more easily damage the original capabilities of the base model.
  • channelwise-loss-weight: if you care more about voice timbre and audio similarity, you can try increasing the audio-side weight, for example from 1,32 to 1,48 or 1,64.
  • weight-decay: you can also try reducing it, for example from the default 0.1 to 0.01, or even 0.0, to see whether it gives more stable single-speaker adaptation.

For the data format, we also recommend using reference-audio-conditioned training with ref_audio / ref_audio_codes whenever possible, since this is closer to the actual voice cloning inference setup.

In addition, if the dataset is small, the finetuned model may not necessarily perform better than the base model. This is a fairly common case.

alpacaking avatar Apr 21 '26 13:04 alpacaking

Thanks for the suggestions — they were very helpful.

I tried lowering the learning rate (down to 5e-6 and 2e-6), which noticeably improved stability and preserved the base model's capabilities better.

Adjusting the channelwise-loss-weight (e.g., increasing the audio-side weight) also helped improve the voice similarity.

However, changing the weight decay (from 0.1 down to 0.01 or even 0.0) didn't seem to make a noticeable difference in my case.

Overall, these adjustments did improve the results, especially in terms of voice quality and stability. Thanks again for the guidance!

fmsky avatar Apr 23 '26 08:04 fmsky