File size: 1,060 Bytes
8c6dd1d 39a388b 1bb57b4 39a388b 4368836 39a388b 1bb57b4 39a388b e82820e 39a388b 8c6dd1d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
---
datasets:
- mesolitica/TTS
language:
- ms
---
# MeloTTS MS
MeloTTS continue train on MS, forked at https://github.com/malaysia-ai/MeloTTS-MS
## Checkpoints
We uploaded full checkpoints with optimizer states at [checkpoints](checkpoints).
## Dataset
We train on [Mesolitica/TTS](https://huggingface.co/datasets/mesolitica/TTS).
## requirements
```bash
pip3 install git+https://github.com/malaysia-ai/MeloTTS-MS
pip3 install git+https://github.com/mesolitica/malaya-speech malaya phonemizer
apt install espeak -y
```
## how to
```python
from huggingface_hub import hf_hub_download
from from melo.api import TTS
ckpt_path = hf_hub_download(repo_id='mesolitica/MeloTTS-MS', filename='model.pth')
config_path = hf_hub_download(repo_id='mesolitica/MeloTTS-MS', filename='config.json')
model = TTS(language='MS', config_path=config_path, ckpt_path=ckpt_path)
speaker_id = {
'Husein': 0,
'Shafiqah Idayu': 1,
'Anwar Ibrahim': 2,
}
r = model.tts_to_file('Husein sangatlah comel dan wangi.', 0, split = True, sdp_ratio = 0, noise_scale = 0.667)
``` |