whatmodel.sh / tts / LightSpeech + Parallel WaveGAN
LightSpeech + Parallel WaveGAN
↗ share
+ contribute
LightSpeech + Parallel WaveGAN is an open-weights text-to-speech model from Microsoft NeuralSpeech, released February 2021. Its published size is 0.0018B parameters.
Catalogue identity notes
Original author implementation with linked pretrained acoustic and vocoder weights. Legacy environment requires a multi-step setup. No benchmark score or current one-command run inferred.
Model information sources
LightSpeech acoustic model only (makers paper: 1.8M vs. 27M for FastSpeech 2). The Parallel WaveGAN vocoder of this two-stage system is not included.
$ how it compares
Scored text-to-speech models released closest to LightSpeech + Parallel WaveGAN, out of 148 with a score.
| # | model | score | where |
|---|---|---|---|
| 81 | 50±16 | comparison only | |
| 82 | 50±16 | comparison only | |
| 124 | 34±5 | local | |
| 135 | 28±6 | comparison only | |
| 142 | 19±6 | comparison only |
see all text-to-speech models · find the ones that fit your machine
$ where to run it
Other ways to run it
version
- Run it as published · needs ~0.04 GB, NVIDIA only · from github.com/microsoft (official)
git clone https://github.com/microsoft/NeuralSpeech.git && cd NeuralSpeech/LightSpeech && SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip install -r requirements.txt && wget https://huggingface.co/neuralspeech/lightspeech/resolve/main/data.tgz && tar -xzf data.tgz && mkdir -p checkpoints/lightspeech wavegan_pretrained && wget -P checkpoints/lightspeech https://huggingface.co/neuralspeech/lightspeech/resolve/main/model_ckpt_steps_100000.ckpt && curl -L -o wavegan_pretrained/checkpoint-1000000steps.pkl 'https://drive.usercontent.google.com/download?id=1FAOTzrVRDi-M_OdtfHRC7tS00YxMbzGz&export=download&confirm=t' && curl -L -o wavegan_pretrained/config.yml 'https://drive.usercontent.google.com/download?id=1Vlp2uM-ljY3nBEc9rDnQ8Z63QKhdRyKs&export=download&confirm=t' && curl -L -o wavegan_pretrained/stats.h5 'https://drive.usercontent.google.com/download?id=1c2AsCT0V95HQkaFqHlwl4q2ODerNa2yD&export=download&confirm=t' && CUDA_VISIBLE_DEVICES=0 PYTHONPATH=. python tasks/lightspeech_inference.py --config configs/tts/lj/lightspeech.yaml --exp_name lightspeech --reset --inference_text inference_text.txt
Official weights and documentation: github.com/microsoft ↗
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json