TransformerTTS is an implementation of a non-autoregressive Transformer-based neural network for text-to-speech, built with TensorFlow 2. It takes inspiration from architectures like FastSpeech, FastSpeech 2, FastPitch, and Transformer TTS, and extends them with its own aligner and forward models. The system separates alignment learning and acoustic modeling: an autoregressive Transformer is used as an aligner to extract phoneme-to-frame durations, while a non-autoregressive “ForwardTransformer” generates mel-spectrograms conditioned on text and durations. This design addresses common autoregressive issues such as repetition, skipped words, and unstable attention, and results in robust, fast synthesis where all frames are predicted in parallel. The repository ships with tooling to build datasets (especially LJSpeech) and create training data, plus scripts to train both the aligner and the TTS model, monitor training with TensorBoard, and resume or reset training runs.

Features

  • Non-autoregressive Transformer TTS model that predicts spectrogram frames in parallel for fast synthesis
  • Separate aligner and forward models for robust duration modeling and improved stability
  • Pre-trained LJSpeech checkpoints compatible with MelGAN, HiFi-GAN, and Griffin-Lim reconstruction
  • TensorFlow 2 implementation with scripts for dataset creation, training, prediction, and monitoring via TensorBoard
  • Configurable training pipeline using YAML configs for data paths, model hyperparameters, and vocoder compatibility
  • Support for custom datasets through pluggable metadata readers and training-data preparation scripts

Project Samples

Project Activity

See All Activity >

Categories

Text to Speech

License

MIT License

Follow Transformer TTS

Transformer TTS Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Transformer TTS!

Additional Project Details

Programming Language

Python

Related Categories

Python Text to Speech Software

Registered

8 hours ago