An open-source Khmer Word to Speech Model. Just single word not sentence!
pip install -r requirements.txt
wget https://huggingface.co/spaces/seanghay/KLEA/resolve/main/G_60000.pth
Place the checkpoint in the current directory.
python infer.py "មនុស្សខ្មែរ"
This will output a file called audio.wav
in the current directory. Output audio sample rate is 22.05 kHz.
python app.py
This model was trained on kheng.info dataset. You can find it on http://kheng.info or at https://hf.co/datasets/seanghay/khmer_kheng_info_speech
- VITS: Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
- kheng.info is an online audio dictionary for the Khmer language with over 3000 recordings. Kheng.info is backed by multiple dictionaries and a large text corpus, and supports search in English and Khmer with search results ordered by word frequency.