2.7 KiB
2.7 KiB
Parakeet
Parakeet aims to provide a flexible, efficient and state-of-the-art text-to-speech toolkit for the open-source community. It is built on PaddlePaddle Fluid dynamic graph and includes many influential TTS models proposed by Baidu Research and other research groups.
In particular, it features the latest [WaveFlow] (https://arxiv.org/abs/1912.01219) model proposed by Baidu Research.
- WaveFlow can synthesize 22.05 kHz high-fidelity speech around 40x faster than real-time on a Nvidia V100 GPU without engineered inference kernels, which is faster than WaveGlow and serveral orders of magnitude faster than WaveNet.
- WaveFlow is a small-footprint flow-based model for raw audio. It has only 5.9M parameters, which is 15x smalller than WaveGlow (87.9M) and comparable to WaveNet (4.6M).
- WaveFlow is directly trained with maximum likelihood without probability density distillation and auxiliary losses as used in Parallel WaveNet and ClariNet, which simplifies the training pipeline and reduces the cost of development.
Setup
Make sure the library libsndfile1
is installed, e.g., on Ubuntu.
sudo apt-get install libsndfile1
Install PaddlePaddle
See install for more details. This repo requires paddlepaddle 1.7 or above.
Install Parakeet
# git clone this repo first
cd Parakeet
pip install -e .
Install CMUdict for nltk
CMUdict from nltk is used to transform text into phonemes.
import nltk
nltk.download("punkt")
nltk.download("cmudict")
Related Research
- Deep Voice 3: Scaling Text-to-Speech with Convolutional Sequence Learning
- Neural Speech Synthesis with Transformer Network
- FastSpeech: Fast, Robust and Controllable Text to Speech
- WaveFlow: A Compact Flow-based Model for Raw Audio
- WaveNet: A Generative Model for Raw Audio
- ClariNet: Parallel Wave Generation in End-to-End Text-to-Speech
Examples
- Train a DeepVoice3 model with ljspeech dataset
- Train a TransformerTTS model with ljspeech dataset
- Train a FastSpeech model with ljspeech dataset
- Train a WaveFlow model with ljspeech dataset
- Train a WaveNet model with ljspeech dataset
- Train a Clarinet model with ljspeech dataset
Copyright and License
Parakeet is provided under the Apache-2.0 license.