Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

PaddleSpeech

> 数据库
Open source

Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification

12.7K stars0 likes2 views
WebsiteGitHub

About

Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification

(简体中文|English)


PaddleSpeech is an open-source toolkit on PaddlePaddle platform for a variety of critical tasks in speech and audio, with the state-of-art and influential models.

PaddleSpeech won the NAACL2022 Best Demo Award, please check out our paper on Arxiv.

Speech Recognition
Speech Translation (English to Chinese)
Text-to-Speech

For more synthesized audios, please refer to PaddleSpeech Text-to-Speech samples.

Punctuation Restoration

Features

Via the easy-to-use, efficient, flexible and scalable implementation, our vision is to empower both industrial application and academic research, including training, inference & testing modules, and deployment process. To be more specific, this toolkit features at:

  • Ease of Use: low barriers to install, CLI, Server, and Streaming Server is available to quick-start your journey.
  • Align to the State-of-the-Art: we provide high-speed and ultra-lightweight models, and also cutting-edge technology.
  • Streaming ASR and TTS System: we provide production ready streaming asr and streaming tts system.
  • Rule-based Chinese frontend: our frontend contains Text Normalization and Grapheme-to-Phoneme (G2P, including Polyphone and Tone Sandhi). Moreover, we use self-defined linguistic rules to adapt Chinese context.
  • Varieties of Functions that Vitalize both Industrial and Academia:
  • ️ Implementation of critical audio tasks: this toolkit contains audio functions like Automatic Speech Recognition, Text-to-Speech Synthesis, Speaker Verification, KeyWord Spotting, Audio Classification, and Speech Translation, etc.
  • Integration of mainstream models and datasets: the toolkit implements modules that participate in the whole pipeline of the speech tasks, and uses mainstream datasets like LibriSpeech, LJSpeech, AIShell, CSMSC, etc. See also model list for more details.
  • Cascaded models application: as an extension of the typical traditional audio tasks, we combine the workflows of the aforementioned tasks with other fields like Natural language processing (NLP) and Computer Vision (CV).

Recent Update

  • 2025.09.01: Add Whisper large v3 and turbo model.
  • 2025.08.11: Add code-switch online model and server demo.
  • 2023.05.31: Add WavLM ASR-en, WavLM fine-tuning for ASR on LibriSpeech.
  • 2023.05.18: Add Squeezeformer, Squeezeformer training for ASR on Aishell.
  • 2023.05.04: Add HuBERT ASR-en, HuBERT fine-tuning for ASR on LibriSpeech.
  • ⚡ 2023.04.28: Fix 0-d tensor, with the upgrade of paddlepaddle==2.5, the problem of modifying 0-d tensor has been solved.
  • 2023.04.25: Add AMP for U2 conformer.
  • 2023.04.06: Add subtitle file (.srt format) generation example.
  • 2023.03.14: Add SVS(Singing Voice Synthesis) examples with Opencpop dataset, including DiffSinger、PWGAN and HiFiGAN, the effect is continuously optimized.
  • 2023.03.09: Add Wav2vec2ASR-zh.
  • 2023.03.07: Add TTS ARM Linux C++ Demo (with C++ Chinese Text Frontend).
  • 2023.03.03 Add Voice Conversion StarGANv2-VC synthesize pipeline.
  • 2023.02.16: Add Cantonese TTS.
  • 2023.01.10: Add code-switch asr CLI and Demos.
  • 2023.01.06: Add code-switch asr tal_cs recipe.
  • 2022.12.02: Add end-to-end Prosody Prediction pipeline (including using prosody labels in Acoustic Model).
  • 2022.11.30: Add TTS Android Demo.
  • 2022.11.28: PP-TTS and PP-ASR demos are available in AIStudio and official website of paddlepaddle.
  • 2022.11.18: Add Whisper CLI and Demos, support multi language recognition and translation.
  • 2022.11.18: Add Wav2vec2 CLI and Demos, Support ASR and Feature Extraction.
  • 2022.11.17: Add male voice for TTS.
  • 2022.11.07: Add U2/U2++ C++ High Performance Streaming ASR Deployment.
  • 2022.11.01: Add Adversarial Loss for Chinese English mixed TTS.
  • 2022.10.26: Add Prosody Prediction for TTS.
  • 2022.10.21: Add SSML for TTS Chinese Text Frontend.
  • 2022.10.11: Add Wav2vec2ASR-en, wav2vec2.0 fine-tuning for ASR on LibriSpeech.
  • 2022.09.26: Add Voice Cloning, TTS finetune, and ERNIE-SAT in PaddleSpeech Web Demo.
  • ⚡ 2022.09.09: Add AISHELL-3 Voice Cloning example with ECAPA-TDNN speaker encoder.
  • ⚡ 2022.08.25: Release TTS finetune example.
  • 2022.08.22: Add ERNIE-SAT models: ERNIE-SAT-vctk、ERNIE-SAT-aishell3、ERNIE-SAT-zh_en.
  • 2022.08.15: Add g2pW into TTS Chinese Text Frontend.
  • 2022.08.09: Release Chinese English mixed TTS.
  • ⚡ 2022.08.03: Add ONNXRuntime infer for TTS CLI.
  • 2022.07.18: Release VITS: VITS-csmsc、VITS-aishell3、VITS-VC.
  • 2022.06.22: All TTS models support ONNX format.
  • 2022.06.17: Add PaddleSpeech Web Demo.
  • 2022.05.13: Release PP-ASR、PP-TTS、PP-VPR.
  • 2022.05.06: PaddleSpeech Streaming Server is available for Streaming ASR with Punctuation Restoration and Token Timestamp and Text-to-Speech.
  • 2022.05.06: PaddleSpeech Server is available for Audio Classification, Automatic Speech Recognition and Text-to-Speech, Speaker Verification and Punctuation Restoration.
  • 2022.03.28: PaddleSpeech CLI is available for Speaker Verification.
  • 2021.12.10: PaddleSpeech CLI is available for Audio Classification, Automatic Speech Recognition, Speech Translation (English to Chinese) and Text-to-Speech.

Community

  • Scan the QR code below with your Wechat, you can access to official technical exchange group and get the bonus ( more than 20GB learning materials, such as papers, codes and videos ) and the live link of the lessons. Look forward to your participation.

Installation

We strongly recommend our users to install PaddleSpeech in Linux with python>=3.8.

Dependency Introduction

  • gcc >= 4.8.5
  • paddlepaddle
  • python >= 3.8
  • OS support: Linux(recommend), Windows, Mac OSX

PaddleSpeech depends on paddlepaddle. For installation, please refer to the official website of paddlepaddle and choose according to your own machine. Here is an example of the cpu version.

bash
pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple

You can also specify the version of paddlepaddle or install the develop version.

bash
# install 2.4.1 version. Note, 2.4.1 is just an example, please follow the minimum dependency of paddlepaddle for your selection
pip install paddlepaddle==2.4.1 -i https://mirror.baidu.com/pypi/simple
# install develop version
pip install paddlepaddle==0.0.0 -f https://www.paddlepaddle.org.cn/whl/linux/cpu-mkl/develop.html

There are two quick installation methods for PaddleSpeech, one is pip installation, and the other is source code compilation (recommended).

pip install

bash
pip install pytest-runner
pip install paddlespeech

source code compilation

bash
git clone https://github.com/PaddlePaddle/PaddleSpeech.git
cd PaddleSpeech
pip install pytest-runner
pip install .
# If you need to install in editable mode, you need to use --use-pep517. The command is as follows:
# pip install -e . --use-pep517

For more installation problems, such as conda environment, librosa-dependent, gcc problems, kaldi installation, etc., you can refer to this installation document. If you encounter problems during installation, you can leave a message on #2150 and find related problems

Quick Start

Developers can have a try of our models with PaddleSpeech Command Line or Python. Change --input to test your own audio/text and support 16k wav format audio.

You can also quickly experience it in AI Studio PaddleSpeech API Demo

Test audio sample download

bash
wget -c https://paddlespeech.cdn.bcebos.com/PaddleAudio/zh.wav
wget -c https://paddlespeech.cdn.bcebos.com/PaddleAudio/en.wav

Automatic Speech Recognition

 (Click to expand)Open Source Speech Recognition

command line experience

bash
paddlespeech asr --lang zh --input zh.wav

Python API experience

python
>>> from paddlespeech.cli.asr.infer import ASRExecutor
>>> asr = ASRExecutor()
>>> result = asr(audio_file="zh.wav")
>>> print(result)
我认为跑步最重要的就是给我带来了身体健康

Text-to-Speech

 Open Source Speech Synthesis

Output 24k sample rate wav format audio

command line experience

bash
paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav

Python API experience

python
>>> from paddlespeech.cli.tts.infer import TTSExecutor
>>> tts = TTSExecutor()
>>> tts(text="今天天气十分不错。", output="output.wav")
  • You can experience in Huggingface Spaces TTS Demo

Audio Classification

 An open-domain sound classification tool

Sound

Issues· 275 open

View all issuesOpen on GitHub
  • #4175

    Tar-Slip Arbitrary File Write via HTTP Download in PaddleSpeech

    Updated Jul 18, 2026
  • #4171

    [TTS]Bug Report: PaddleSpeech 1.5.0 TTS CPU segfault on paddlepaddle 2.6.2

    BugT2SUpdated Jun 15, 2026
  • #4169

    讨论:FunASR/SenseVoice 与 PaddleSpeech 的协作可能性

    Updated May 31, 2026
  • #4166

    天数 BI-150S 环境中需要降级 opencc-python-reimplemented 版本

    Updated Apr 17, 2026
  • #4156

    【版本发布】PyPI包严重过时(将近1年未更新)导致用户体验差且造成项目bug多的假象

    Updated Mar 16, 2026
  • #4151

    中英文流式TTS的配置方法

    feature requestUpdated Jan 26, 2026
  • #4123

    流式TTS合成有支持中英文混合合成的模型吗?

    feature requestUpdated Jan 17, 2026
  • #4146

    中英文混合TTS哪个模型好用呀?

    QuestionUpdated Jan 15, 2026
  • #4144

    [S2T]语音识别任务报错

    BugS2TUpdated Dec 11, 2025
  • #4143

    G2PWModel_1.1.zip下载失败

    QuestionUpdated Dec 10, 2025

> Tags

Pythonasrcode-switchconformerkws

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库