ESPnet is an end-to-end speech toolkit on PyTorch covering recognition, synthesis, translation, enhancement, and related speech tasks with reproducible recipes.
Overview
ESPnet is a speech processing toolkit built on PyTorch that spans recognition, text-to-speech, speech translation, enhancement, separation, diarization, spoken language understanding, voice conversion, singing voice synthesis, and more. It pairs Kaldi-style reproducible recipes from data prep through evaluation with many pretrained models published on Hugging Face.
Users can run inference from the terminal after installing the Python package, call models from Python, or expose the same tasks through an MCP server for agent tools. Container images support inference without a full local training install, and Docker-based setup is documented for broader workflows.
Training follows recipe templates per task, with ESPnet2 and ESPnet3 directory layouts; newcomers are pointed to small ASR recipes that run end to end quickly. Task templates cover TTS, enhancement and separation, translation, spoken language understanding, speaker and language ID, speech language models, and neural codecs, each with corpus-agnostic pipelines.
CI notes list tested combinations on Ubuntu, Debian, Windows, and macOS with pip or conda installs. Docker, distributed training, and job scheduling documentation support larger replication setups.
Key features
- ASR, TTS, and speech translation recipes
- Speech enhancement and separation pipelines
- Command-line inference for common tasks
- Python API and MCP server interfaces
- Pretrained models on Hugging Face
- Docker images for inference runs
- Kaldi-style run.sh recipe workflows
- Speaker, language ID, and diarization tasks
Use cases
- Training speech models from public recipes
- Running ASR or TTS on audio files
- Reproducing published speech benchmarks
- Building agent workflows via MCP speech tools