Downloads · 30 days
8
7% of all-time downloads
thangquang09/capspeech-nar-vietnamese-stage2-v3-syllable5k-exp1
capspeech-nar-vietnamese-stage2-v3-syllable5k-exp1 is a text-to-speech model from thangquang09. Use it when you need text read aloud. The card lists the license as mit.
Vietnamese instruction-guided text-to-speech model for controllable voice generation.
Downloads · 30 days
8
7% of all-time downloads
All-time downloads
111
Public
Repo size
30.1 GB
Likes
0
Public
Click a slice to open those files.
.pt7.4 GB · 93%
From the Hugging Face model README
Vietnamese instruction-guided text-to-speech model for controllable voice generation.
This repository contains the Stage 2 checkpoint of my Vietnamese CapSpeech NAR pipeline, fine-tuned on a curated instruction-TTS mixture for:
Model repo:
thangquang09/capspeech-nar-vietnamese-stage2Project GitHub:
https://github.com/thangquang09/vietnamese-f5tts-voice-designBase model:
thangquang09/capspeech-nar-vietnameseUpstream research/codebase:
https://github.com/WangHelin1997/CapSpeechThe model takes:
text: the Vietnamese sentence to synthesizecaption: a natural-language description of the desired voiceand generates speech that follows the requested speaking style.
Example captions:
Giọ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 caoCompared with the base Vietnamese Stage 1 model, this Stage 2 release is designed to improve controllability for:
while still keeping general Vietnamese TTS quality through replay data.
thangquang09/capspeech-nar-vietnameseThis model is intended for:
This model is not packaged as a standard transformers checkpoint. The recommended way to use it is through the project inference code from GitHub.
git clone https://github.com/thangquang09/vietnamese-f5tts-voice-design.git
cd vietnamese-f5tts-voice-design
pip install -r requirements.txt
from api import InstructVoiceAPI
tts = InstructVoiceAPI(
device="cuda:0",
hf_model_repo="thangquang09/capspeech-nar-vietnamese-stage2",
)
tts.synthesize(
text="Xin chào, rất vui được gặp bạn.",
caption="Giọng nữ trẻ, nhẹ nhàng, vui vẻ",
output_path="output.wav",
)
python app.py \
--hf_model_repo thangquang09/capspeech-nar-vietnamese-stage2 \
--device cuda:0 \
--port 7860
checkpoint.pt: Stage 2 model weightsfinetune_vn_stage2.yaml: training/inference configvocab.txt: Vietnamese text vocabularyduration_predictor/: duration prediction moduleREADME.md: model cardHugging Face exposes repository-level download statistics.
Open:
https://huggingface.co/thangquang09/capspeech-nar-vietnamese-stage2and look for:
Downloads last monthfrom huggingface_hub import HfApi
api = HfApi()
info = api.model_info(
"thangquang09/capspeech-nar-vietnamese-stage2",
expand=["downloads", "downloadsAllTime"],
)
print("Downloads last 30 days:", info.downloads)
print(
"Downloads all time:",
getattr(info, "downloads_all_time", None) or getattr(info, "downloadsAllTime", None),
)
If you use this model, please cite:
https://github.com/WangHelin1997/CapSpeechhttps://github.com/thangquang09/vietnamese-f5tts-voice-designThis model is built on top of:
This repo is cloned from thangquang09/capspeech-nar-vietnamese-stage2-v3 and overrides:
checkpoint.ptvocab.txtfinetune_vn_stage2_v3.yaml / finetune_vn_stage2.yaml / finetune_vn.yaml