Downloads · 30 days
0
humair025/StyleTTS2-lite
StyleTTS2-lite is a machine learning model from humair025. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
If you have a better checkpoint, your contribution would be greatly appreciated!
Downloads · 30 days
0
Access
Public
Updated Oct 27, 2025
Repo size
9.3 MB
Likes
2
Public
Click a slice to open those files.
.wav9.3 MB · 50%
From the Hugging Face model README
If you have a better checkpoint, your contribution would be greatly appreciated!
English:
Vietnamese:
Model Component Parameter Summary
| Component | Parameters | Used in Inference |
|---|---|---|
| Decoder | 54,289,492 | ✅ Yes |
| Predictor | 16,194,612 | ✅ Yes |
| Style Encoder | 13,845,440 | ✅ Yes |
| Text Encoder | 5,606,400 | ✅ Yes |
| Text Aligner (ASR) | 7,865,252 | ❌ No |
| Pitch Extractor (JDC) | 5,248,067 | ❌ No |
| mpd (Discriminator) | 41,105,770 | ❌ No |
| msd (Discriminator) | 280,902 | ❌ No |
| Total | 144,435,935 |
1. Install The requirements
pip install .
2. Download Model And Config File
Download and place the base model in /Models/Finetune and the corresponding config file in /Configs.
3. Format Your Dataset.
Format: filename.wav | transcription
For reference, see val.txt in LibriTTS dataset.
4. (Optional) Extend The Token Set To Support Additional Languages
If you plan to train on a new language with symbols not included in the original token set (see config file that comes with the pretrained you downloaded), follow these steps after completing step 2.
5. Adjust Your Configs File
For a single GPU with 24 GB VRAM, i find the following works well.
<pre lang="yaml"> batch_size: 2 max_len: 310 # maximum number of frames </pre>Change the location of your dataset. For example:
<pre lang="yaml"> data_params: train_data: ../Data_Speech/LibriTTS/train.txt val_data: ../Data_Speech/LibriTTS/val.txt root_path: ../Data_Speech/ </pre>6. Start training
python train.py
Before using these pre-trained models, you agree to inform the listeners that the speech samples are synthesized by the pre-trained models, unless you have the permission to use the voice you synthesize. That is, you agree to only use voices whose speakers grant the permission to have their voice cloned, either directly or by license before making synthesized voices public, or you have to publicly announce that these voices are synthesized if you do not have the permission to use these voices.
Code: MIT License