DISC-FinLLM, a Chinese financial large language model (LLM) designed to provide users with professional, intelligent, and comprehensive financial consulting services in financial scenarios.
Flowtron: an Autoregressive Flow-based Network for Text-to-Mel-spectrogram Synthesis Rafael Valle, Kevin Shih, Ryan Prenger and Bryan Catanzaro In our recent [paper] we propose Flowtron: an autoregressive flow-based generative network for text-to-speech synthesis with control over speech variation and style transfer. Flowtron borrows insights from Autoregressive Flows and revamps [Tacotron] in order to provide high-quality and expressive mel-spectrogram synthesis. Flowtron is optimized by maximizing the likelihood of the training data, which makes
training simple and stable. Flowtron learns an invertible mapping of data to a latent space that can be manipulated to control many aspects of speech synthesis (pitch, tone, speech rate, cadence, accent). Our mean opinion scores (MOS) show that Flowtron matches state-of-the-art TTS models in terms of speech quality. In addition, we provide results on control of speech variation, interpolation between samples and style transfer between speakers seen and unseen during training. Install python requirements or build
docker image Training from scratch 1. Update the filelists inside the filelists folder to point to your data 2. Train using the attention prior and the alignment loss (CTC loss) until attention looks good 3. Resume training without the attention prior once the alignments have stabilized 4. (OPTIONAL) If the gate layer is overfitting once done training, train just the gate layer from scratch 5. (OPTIONAL) Training using a pre-trained model Training using a pre-trained model can lead
to faster convergence. Dataset dependent layers can be [ignored] 1. Download our published [Flowtron LJS], [Flowtron LibriTTS] or [Flowtron LibriTTS2K] model 2. Fine-tuning for few-shot speech synthesis 1. Download our published [Flowtron LibriTTS2K] model 2. Multi-GPU (distributed) and Automatic Mixed Precision Training ([AMP]) 1. Inference demo Disable the attention prior and run inference: 1. Related repos WaveGlow Faster than real time Flow-based Generative Network for Speech Synthesis Acknowledgements This implementation uses code from the following repos
: Keith Ito, Prem Seetharaman and Liyuan Liu as described in our code.
Frequently asked questions
How many stars and forks are recorded?
NVIDIA/flowtron has 894 stars and 174 forks.
What is the repository rank?
NVIDIA/flowtron is ranked 12,839.
What language and category are recorded?
NVIDIA/flowtron has 894 stars, uses Jupyter Notebook and belongs to Models.
Which repository is closest in rank?
NVIDIA/flowtron is compared with peylnog/ContinuousSR, ranked 12,836 with 895 stars.
README
Flowtron: an Autoregressive Flow-based Network for Text-to-Mel-spectrogram Synthesis
Rafael Valle, Kevin Shih, Ryan Prenger and Bryan Catanzaro
In our recent paper we propose Flowtron: an autoregressive flow-based
generative network for text-to-speech synthesis with control over speech
variation and style transfer. Flowtron borrows insights from Autoregressive Flows and revamps
Tacotron in order to provide high-quality and expressive mel-spectrogram
synthesis. Flowtron is optimized by maximizing the likelihood of the training
data, which makes training simple and stable. Flowtron learns an invertible
mapping of data to a latent space that can be manipulated to control many
aspects of speech synthesis (pitch, tone, speech rate, cadence, accent).
Our mean opinion scores (MOS) show that Flowtron matches state-of-the-art TTS
models in terms of speech quality. In addition, we provide results on control of
speech variation, interpolation between samples and style transfer between
speakers seen and unseen during training.
Update the filelists inside the filelists folder to point to your data
Train using the attention prior and the alignment loss (CTC loss) until attention looks good
python train.py -c config.json -p train_config.output_directory=outdir data_config.use_attn_prior=1
Resume training without the attention prior once the alignments have stabilized
python train.py -c config.json -p train_config.output_directory=outdir data_config.use_attn_prior=0train_config.checkpoint_path=model_niters
(OPTIONAL) If the gate layer is overfitting once done training, train just the gate layer from scratch
python train.py -c config.json -p train_config.output_directory=outdirtrain_config.checkpoint_path=model_niters data_config.use_attn_prior=0train_config.ignore_layers='["flows.1.ar_step.gate_layer.linear_layer.weight","flows.1.ar_step.gate_layer.linear_layer.bias"]'train_config.finetune_layers='["flows.1.ar_step.gate_layer.linear_layer.weight","flows.1.ar_step.gate_layer.linear_layer.bias"]'
(OPTIONAL) tensorboard --logdir=outdir/logdir
Training using a pre-trained model
Training using a pre-trained model can lead to faster convergence.
Dataset dependent layers can be ignored
python inference.py -c config.json -f models/flowtron_ljs.pt -w models/waveglow_256channels_v4.pt -t "It is well know that deep generative models have a rich latent space!" -i 0
Related repos
WaveGlow Faster than real time Flow-based
Generative Network for Speech Synthesis