Views
No views yet
thangquang09/capspeech-nar-vietnamese-stage2https://github.com/thangquang09/vietnamese-f5tts-voice-designthangquang09/capspeech-nar-vietnamesehttps://github.com/WangHelin1997/CapSpeechtext: the Vietnamese sentence to synthesizecaption: a natural-language description of the desired voiceGiọng nữ trẻ, vui vẻ, nhịp nói nhanhGiọng nam trung niên miền Bắc, trầm, rõ chữGiọng nữ cao tuổi miền Nam, chậm rãi, ấm ápGiọng thiếu niên, hào hứng, năng lượng caothangquang09/capspeech-nar-vietnamesetransformers checkpoint. The recommended way to use it is through the project inference code from GitHub.1git clone https://github.com/thangquang09/vietnamese-f5tts-voice-design.git
2cd vietnamese-f5tts-voice-design
3pip install -r requirements.txt1from api import InstructVoiceAPI
2
3tts = InstructVoiceAPI(
4 device="cuda:0",
5 hf_model_repo="thangquang09/capspeech-nar-vietnamese-stage2",
6)
7
8tts.synthesize(
9 text="Xin chào, rất vui được gặp bạn.",
10 caption="Giọng nữ trẻ, nhẹ nhàng, vui vẻ",
11 output_path="output.wav",
12)1python app.py \
2 --hf_model_repo thangquang09/capspeech-nar-vietnamese-stage2 \
3 --device cuda:0 \
4 --port 7860checkpoint.pt: Stage 2 model weightsfinetune_vn_stage2.yaml: training/inference configvocab.txt: Vietnamese text vocabularyduration_predictor/: duration prediction moduleREADME.md: model cardhttps://huggingface.co/thangquang09/capspeech-nar-vietnamese-stage2Downloads last month1from huggingface_hub import HfApi
2
3api = HfApi()
4info = api.model_info(
5 "thangquang09/capspeech-nar-vietnamese-stage2",
6 expand=["downloads", "downloadsAllTime"],
7)
8
9print("Downloads last 30 days:", info.downloads)
10print(
11 "Downloads all time:",
12 getattr(info, "downloads_all_time", None) or getattr(info, "downloadsAllTime", None),
13)https://github.com/WangHelin1997/CapSpeechhttps://github.com/thangquang09/vietnamese-f5tts-voice-designthangquang09/capspeech-nar-vietnamese-stage2-v3 and overrides:checkpoint.ptvocab.txtfinetune_vn_stage2_v3.yaml / finetune_vn_stage2.yaml / finetune_vn.yaml