All models

speechbrain_conformer_transformerlm_asr

A LibriSpeech speech recognizer with a Conformer encoder, CTC and transformer decoding, and a Transformer LM.

Audio and speech · 2,160 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,160 operations (19 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
202.5M
Operations
2,160
Framework
PyTorch
Recurrent
No
Published
Interspeech 2020
Cited by
3,139 (as of 22 October 2026)
Authors
Anmol Gulati, James Qin, Chung-Cheng Chiu and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m10119
Graph hash
624f801e037f9c9004e7db16a62f47b5944ccb4ec1353ad08d87155ec429190f
Skeleton hash
89f3885d0390ad25fe584e4e99531bc1eb31038e7d3fecb3d4ed956d4ca3648c
Architecture hash
5024d1c79f9e6b13b1fcdae385c5366e8a234f28fa3bca52f67a708d56a9f7d6
Diagram SHA-256
a524b5290b0d23d2d02e0a6386677f4c8dfed34d2b6031793608cb3de32636ea
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is SpeechBrain's end-to-end speech recognition system for LibriSpeech, an English dataset. Its model card describes three linked blocks: a unigram tokenizer that turns words into subword units, a neural language model (Transformer LM), and an acoustic model made of a conformer encoder and a joint decoder with CTC plus transformer. Because of that joint decoder, decoding also incorporates the CTC probabilities.

The encoder design comes from the Conformer paper, which starts from the observation that Transformer models are good at content-based global interactions while CNNs exploit local features effectively. A Conformer block places a multi-headed self-attention module and a convolution module between two feed-forward modules. The convolution module is a pointwise convolution with a gated linear unit followed by a single 1-D depthwise convolution, and the authors found that stacking it after the self-attention module works best for speech recognition.

The paper's own models use a single-LSTM-layer decoder, whereas this system decodes with CTC and a transformer. The model card reports a word error rate of 2.01 on LibriSpeech test clean and 4.52 on test other. For its 118M parameter model, the paper reports WER of 2.1%/4.3% on LibriSpeech test/testother without a language model and 1.9%/3.9% with an external language model.

Key idea. Conformer combines convolution and self-attention in one encoder block so a speech recognizer models both local and global dependencies of an audio sequence in a parameter-efficient way.

  • Conformer
  • convolution-augmented transformer
  • SpeechBrain
  • ASR
  • automatic speech recognition
  • LibriSpeech
  • Transformer LM
  • CTC attention
  • speech-to-text
  • asr-conformer-transformerlm-librispeech

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{gulati2020conformerconvolutionaugmentedtransformerspeech,
      title={Conformer: Convolution-augmented Transformer for Speech Recognition}, 
      author={Anmol Gulati and James Qin and Chung-Cheng Chiu and Niki Parmar and Yu Zhang and Jiahui Yu and Wei Han and Shibo Wang and Zhengdong Zhang and Yonghui Wu and Ruoming Pang},
      year={2020},
      eprint={2005.08100},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/2005.08100}, 
}