facebook/tts_transformer-ar-cv7
tts_transformer-ar-cv7
Transformer text-to-speech model from fairseq S^2 (paper/code):
- Arabic
- Single-speaker male voice
- Trained on Common Voice v7
Usage
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub
from fairseq.models.text_to_speech.hub_interface import TTSHubInterface
import IPython.display as ipd
models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
"facebook/tts_transformer-ar-cv7",
arg_overrides={"vocoder": "hifigan", "fp16": False}
)
model = models[0]
TTSHubInterface.update_cfg_with_data_cfg(cfg, task.data_cfg)
generator = task.build_generator(model, cfg)
text = "مرحبًا ، هذا اختبار تشغيل."
sample = TTSHubInterface.get_model_input(task, text)
wav, rate = TTSHubInterface.get_prediction(task, model, generator, sample)
ipd.Audio(wav, rate=rate)
See also fairseq S^2 example.
Citation
@inproceedings{wang-etal-2021-fairseq,
title = "fairseq S{\^{}}2: A Scalable and Integrable Speech Synthesis Toolkit",
author = "Wang, Changhan and
Hsu, Wei-Ning and
Adi, Yossi and
Polyak, Adam and
Lee, Ann and
Chen, Peng-Jen and
Gu, Jiatao and
Pino, Juan",
booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing: System Demonstrations",
month = nov,
year = "2021",
address = "Online and Punta Cana, Dominican Republic",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.emnlp-demo.17",
doi = "10.18653/v1/2021.emnlp-demo.17",
pages = "143--152",
}
收录说明:
1、本网页并非 facebook/tts_transformer-ar-cv7 官网网址页面,此页面内容编录于互联网,只作展示之用;
2、如果有与 facebook/tts_transformer-ar-cv7 相关业务事宜,请访问其网站并获取联系方式;
3、本站与 facebook/tts_transformer-ar-cv7 无任何关系,对于 facebook/tts_transformer-ar-cv7 网站中的信息,请用户谨慎辨识其真伪。
4、本站收录 facebook/tts_transformer-ar-cv7 时,此站内容访问正常,如遇跳转非法网站,有可能此网站被非法入侵或者已更换新网址,导致旧网址被非法使用,
5、如果你是网站站长或者负责人,不想被收录请邮件删除:i-hu#Foxmail.com (#换@)
前往AI网址导航