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

SFT degrades audio quality and introduces redundant non-text speech. #888

Open
6 tasks done
steven8274 opened this issue Feb 17, 2025 · 2 comments
Open
6 tasks done
Labels
help wanted Extra attention is needed

Comments

@steven8274
Copy link

steven8274 commented Feb 17, 2025

Self Checks

  • This template is only for bug reports. For questions, please visit Discussions.
  • I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
  • I have searched for existing issues, including closed ones. Search issues
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template and fill in all required fields.

Cloud or Self Hosted

Self Hosted (Source)

Environment Details

ubuntu 22.04 Python 3.10.15, torch==2.4.1, gradio==5.16.0

Steps to Reproduce

1.Follow steps on 'https://speech.fish.audio/zh/#linux' to setup linux env.
2.Follow steps on 'https://speech.fish.audio/zh/finetune/' to do SFT.I use 'edgetts' to generate about 1500 hour audio(24000Hz )-lab pairs, which correspond to about 1.5 hour duration, with 'xiaoxiao' voice(chinese).And then normalize these audios with "fap" tool.
3.Use the finetuned llama checkpoint to run webui:
python tools/run_webui.py
--llama-checkpoint-path checkpoints/fish-speech-1.5-yth-lora
--decoder-checkpoint-path checkpoints/fish-speech-1.5/firefly-gan-vq-fsq-8x1024-21hz-generator.pth
--compile

✔️ Expected Behavior

1.Better TTS audio than using basic llama checkpoint.

❌ Actual Behavior

1.The pronunciation not as clear as before SFT.
2.There are some redundant non-text speech gengerated in the among the normal sentences.

@steven8274 steven8274 added the bug Something isn't working label Feb 17, 2025
@Whale-Dolphin
Copy link
Collaborator

Single tone is easy to crash, it may because the model overfit (too many epoch you trained), it's not a bug.

@Whale-Dolphin Whale-Dolphin added help wanted Extra attention is needed and removed bug Something isn't working labels Feb 17, 2025
@steven8274
Copy link
Author

Single tone is easy to crash, it may because the model overfit (too many epoch you trained), it's not a bug.

Thr problems occured wether I use the checkpoint trained for 500 steps or 1000 steps.How many steps should I train?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants