inworld-ai/tts

Inworld TTS

What it solves

This project provides the complete toolkit for training, fine-tuning, and aligning SpeechLM-based text-to-speech (TTS) models. It simplifies the complex pipeline of preparing audio data, training models on single or multi-GPU setups, and refining them using Reinforcement Learning from Human Feedback (RLHF).

How it works

The workflow follows a structured pipeline: first, you vectorize raw audio data into codes using a codec encoder. Next, you configure your training parameters—such as learning rate and batch size—in a JSON file. The system supports Supervised Fine-Tuning (SFT) and advanced RLHF training to align the model with human preferences. For production-grade performance, it integrates with tools like vLLM to accelerate inference and manage multi-node training environments.

Who it’s for

This is designed for machine learning engineers and researchers who want to build or customize their own SpeechLM-based TTS models. It is suitable for users ranging from those working on a single GPU to those managing large-scale, multi-node compute clusters.

Highlights

  • Supports distributed training using DDP, DeepSpeed, and FSDP.
  • Includes a complete data pipeline for vectorizing and preparing audio datasets.
  • Enables RLHF training to improve model output quality based on human feedback.
  • Compatible with vLLM for high-speed inference and efficient model serving.
  • Provides flexible configuration for both SFT and RLHF training workflows.

Related

  • Project
  • Project
  • Dispatch
  • Project
  • Project