WeNet 2.0: More Productive End-to-End Speech Recognition Toolkit

Binbin Zhang, Di Wu, Zhendong Peng, Xingchen Song, Zhuoyuan Yao +5 more
3/29/2022
141 citations
cs.SDcs.CLeess.AS

Official code: wenet-e2e/wenet (5,257 stars, Python, Apache-2.0, PyTorch, last commit 2026-09-07).

Abstract

Recently, we made available WeNet, a production-oriented end-to-end speech recognition toolkit, which introduces a unified two-pass (U2) framework and a built-in runtime to address the streaming and non-streaming decoding modes in a single model. To further improve ASR performance and facilitate various production requirements, in this paper, we present WeNet 2.0 with four important updates. (1) We propose U2++, a unified two-pass framework with bidirectional attention decoders, which includes the future contextual information by a right-to-left attention decoder to improve the representative ability of the shared encoder and the performance during the rescoring stage. (2) We introduce an n-gram based language model and a WFST-based decoder into WeNet 2.0, promoting the use of rich text data in production scenarios. (3) We design a unified contextual biasing framework, which leverages user-specific context (e.g., contact lists) to provide rapid adaptation ability for production and improves ASR accuracy in both with-LM and without-LM scenarios. (4) We design a unified IO to support large-scale data for effective model training.

Show full abstract

In summary, the brand-new WeNet 2.0 achieves up to 10\% relative recognition performance improvement over the original WeNet on various corpora and makes available several important production-oriented features.

View on arXivView PDF

Code Implementations(1)

wenet-e2e/wenetOfficial100%
PyTorchApache-2.0

Production First and Production Ready End-to-End Speech Recognition Toolkit

5,2571,191Python, C++Nov 17, 20202 months agoApache-2.0
asrautomatic-speech-recognitionconformere2e-modelsproduction-ready+4 more

Similar Papers

Cite this paper

@article{zhang2022wenet,
  title  = {WeNet 2.0: More Productive End-to-End Speech Recognition Toolkit},
  author = {Binbin Zhang and Di Wu and Zhendong Peng and Xingchen Song and Zhuoyuan Yao and Hang Lv and Lei Xie and Chao Yang and Fuping Pan and Jianwei Niu},
  year   = {2022},
  eprint = {2203.15455},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.15455}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.15455.svg)](https://codeofpaper.com/paper/2203.15455)

Discussion