Instructions to use rin98s/Parrot-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- CosyVoice
How to use rin98s/Parrot-TTS with CosyVoice:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download README.md from rin98s/Parrot-TTS: direct link, hf CLI and curl.
- Browser
- Download file 2.95 kB
-
https://huggingface.co/rin98s/Parrot-TTS/resolve/main/README.md
- Command line
-
hf download hf://rin98s/Parrot-TTS/README.md
-
curl -L -o README.md https://huggingface.co/rin98s/Parrot-TTS/resolve/main/README.md
language:
- vi
license: other
license_name: parrot-tts-noncommercial
base_model: FunAudioLLM/Fun-CosyVoice3-0.5B-2512
pipeline_tag: text-to-speech
tags:
- tts
- vietnamese
- cosyvoice
- parrot-tts
Parrot-TTS
Vietnamese text-to-speech, made for Vietnamese speakers. It runs locally on your own computer. Free for personal, educational and research use.
llm.pt is the text-reading stage of Fun-CosyVoice3-0.5B, retrained for Vietnamese (fp16, ~1.3 GB). The other parts (flow, vocoder) are unchanged from the base model and are downloaded from the original repository.
Code, text normalizer and CLI: github.com/RinNguyens/Parrot-TTS. The command is parrot-tts and the Python package is parrot_tts.
Install and use
git clone https://github.com/RinNguyens/Parrot-TTS.git
cd Parrot-TTS
python3.12 -m venv .venv-tts && source .venv-tts/bin/activate
pip install -e ".[tts]"
parrot-tts download
parrot-tts tts "Xin chào các bạn." --voice "Thanh Thanh" -o hello.wav
An NVIDIA GPU makes it fast. It also runs on CPU (Macs included) at about 4–5 seconds per second of audio.
Voices (voices/)
| Voice | ID | Accent | Gender | Best for |
|---|---|---|---|---|
| Thanh Thanh | thanh_thanh |
Southern | Female | Podcasts, heart-to-heart talks, storytelling |
| Thành | thanh |
Southern | Male | Radio reading, late-night stories |
Both original speakers agreed to have their voices published under these names. More voices, including Northern accents, are on the way.
You can also use your own voice: --prompt-wav sample.wav --prompt-text "exact words spoken in sample.wav".
Quality
Measured by transcribing the output with Whisper, on 167 sentences not used for model selection and 38 tone minimal pairs:
| Voice | Character error rate (CER) | Tone errors | Similarity to reference voice |
|---|---|---|---|
| Thanh Thanh | 0.059 | 0.126 | 0.906 |
| Thành | 0.060 | 0.112 | 0.941 |
Allowed and not allowed
- Allowed: free personal, educational and research use, and non-commercial content.
- Not allowed: commercial use; imitating other people or using the voice of anyone who has not consented; fraud, impersonation or disinformation.
- When you publish audio, say clearly that it is an AI-generated synthetic voice. Files written by
parrot-ttsalready carry this label in their metadata.
Training data
The model was trained on the sources below. Because some of the data is licensed for research and education only, the model is for non-commercial use only.
- Google FLEURS
vi_vn(CC BY 4.0) - YODAS
vi000(espnet/yodas, CC BY 3.0) - LSVSC (Electronics 2024, 13(5):977; doof-ferb/LSVSC mirror, CC BY 4.0)
- PhoAudiobook (arXiv 2506.01322), research and education only
Base model Fun-CosyVoice3-0.5B and the CosyVoice code: Apache-2.0, by FunAudioLLM.