tts_transformer-zh-cv7_css10
Transformer text-to-speech model from fairseq S^2 (paper/code):
- Simplified Chinese
- Single-speaker female voice
- Pre-trained on Common Voice v7, fine-tuned on CSS10
Usage
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub<br /> from fairseq.models.text_to_speech.hub_interface import TTSHubInterface<br /> import IPython.display as ipd<br /> models, cfg, task = load_model_ensemble_and_task_from_hf_hub(<br /> "facebook/tts_transformer-zh-cv7_css10",<br /> arg_overrides={"vocoder": "hifigan", "fp16": False}<br /> )<br /> model = models[0]<br /> TTSHubInterface.update_cfg_with_data_cfg(cfg, task.data_cfg)<br /> generator = task.build_generator(model, cfg)<br /> text = "您好,这是试运行。"<br /> sample = TTSHubInterface.get_model_input(task, text)<br /> wav, rate = TTSHubInterface.get_prediction(task, model, generator, sample)<br /> ipd.Audio(wav, rate=rate)<br />
See also fairseq S^2 example.
Citation
@inproceedings{wang-etal-2021-fairseq,<br /> title = "fairseq S{\^{}}2: A Scalable and Integrable Speech Synthesis Toolkit",<br /> author = "Wang, Changhan and<br /> Hsu, Wei-Ning and<br /> Adi, Yossi and<br /> Polyak, Adam and<br /> Lee, Ann and<br /> Chen, Peng-Jen and<br /> Gu, Jiatao and<br /> Pino, Juan",<br /> booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing: System Demonstrations",<br /> month = nov,<br /> year = "2021",<br /> address = "Online and Punta Cana, Dominican Republic",<br /> publisher = "Association for Computational Linguistics",<br /> url = "https://aclanthology.org/2021.emnlp-demo.17",<br /> doi = "10.18653/v1/2021.emnlp-demo.17",<br /> pages = "143--152",<br /> }<br />
收录说明:
1、本网页并非 facebook/tts_transformer-zh-cv7_css10 官网网址页面,此页面内容编录于互联网,只作展示之用;2、如果有与 facebook/tts_transformer-zh-cv7_css10 相关业务事宜,请访问其网站并获取联系方式;3、本站与 facebook/tts_transformer-zh-cv7_css10 无任何关系,对于 facebook/tts_transformer-zh-cv7_css10 网站中的信息,请用户谨慎辨识其真伪。4、本站收录 facebook/tts_transformer-zh-cv7_css10 时,此站内容访问正常,如遇跳转非法网站,有可能此网站被非法入侵或者已更换新网址,导致旧网址被非法使用,5、如果你是网站站长或者负责人,不想被收录请邮件删除:i-hu#Foxmail.com (#换@)
前往AI网址导航
2、本站所有文章、图片、资源等如果未标明原创,均为收集自互联网公开资源;分享的图片、资源、视频等,出镜模特均为成年女性正常写真内容,版权归原作者所有,仅作为个人学习、研究以及欣赏!如有涉及下载请24小时内删除;
3、如果您发现本站上有侵犯您的权益的作品,请与我们取得联系,我们会及时修改、删除并致以最深的歉意。邮箱: i-hu#(#换@)foxmail.com