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

广东话真的太不地道了,可否用 TVB 的经典电视来训练一下丫? #860

Open
FreemanFeng opened this issue Jan 9, 2025 · 3 comments

Comments

@FreemanFeng
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@wzr0108
Copy link

wzr0108 commented Jan 10, 2025

for i, j in enumerate(
    cosyvoice.inference_cross_lingual(
        "<|yue|>呢部係性價比超高嘅旗艦手機,大容量電池,快充,高清拍照,性能拉滿,今日直播間限時優惠,快啲嚟落單啦!",
        prompt_speech_16k,
        stream=False,
        speed=1.0,
    )
):
    torchaudio.save("tests/daihuo-yue.wav", j["tts_speech"], cosyvoice.sample_rate)

我用CosyVoice2-0.5B,输出是普通话,请问怎么输出粤语

@aluminumbox
Copy link
Collaborator

看CosyVoice2-0.5B,用粤语说这句话,调用inference_instruct2

@indiejoseph
Copy link

indiejoseph commented Jan 15, 2025

cosyvoice.inference_instruct2('呢部係性價比超高嘅旗艦手機,大容量電池,快充,高清拍照,性能拉滿,今日直播間限時優惠,快啲嚟落單啦!', '用粤语说这句话', prompt_speech_16k, stream=False)

帶點口音

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

4 participants