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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
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

2025-11-28