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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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