parakeet_encoder (base speech encoder)
Speech encoder of the Parakeet models, a Fast Conformer with 8x convolutional downsampling.
Audio and speech · 2,383 operations Checked
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
- Task
- Audio and speech
- Parameters
- 1.1B
- Operations
- 2,383
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE Automatic Speech Recognition and Understanding Workshop (ASRU) (arXiv 2023)
- Cited by
- 95 (as of 23 October 2026)
- Authors
- Dima Rekesh, Nithin Rao Koluguri, Samuel Kriman and others
- Source
- transformers 5.18.0
- Name in source
- parakeet_encoder:base-speech-encoder
- 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 file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m8129
- Graph hash
- 36fde6edc3aaa905ee9558be877bca53f9264701579d6b7c41083e6da477fdb0
- Skeleton hash
- 8572962055fcd97aa118b315952dca37dc49c2f721226e988cdaa81e7c0923be
- Architecture hash
- ce4a95f1904f441a7c64bfc9f8d712703e7ae2ee593dd029c3f70e26ffe8127a
- Diagram SHA-256
- ec5a93731d368891a385d5de36d2b9f530ab6afd377277c9a1d7d0019e6c0064
- 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
How this diagram was made
transformers.ParakeetEncoder()
What it is
The Parakeet encoder is the speech encoder of the Parakeet family of automatic speech recognition models, and it is based on the Fast Conformer architecture. Fast Conformer is a redesign of Conformer, whose encoder combines depth-wise convolution for local features with self-attention for global context.
The main change is at the input: the encoder downsamples by 8x at its start, where Conformer downsamples by 4x, and this cuts the compute cost of the attention layers that follow by 4x. The subsampling layers become depthwise separable convolutions with 256 filters, and the convolution kernel size in the conformer blocks drops from 31 to 9. With these changes the paper measured a 2.8x increase in encoder speed while maintaining accuracy. In the transformers implementation the attention is multi-head attention with relative positional encoding, and because the sequence length is not preserved the encoder returns an attention mask for its output.
The paper says Fast Conformer can scale to 1 Billion parameters without any changes to the core architecture. The parakeet-ctc-1.1b model card describes that model as an XXL version of FastConformer CTC with around 1.1B parameters, trained on 64K hours of English speech.
Key idea. Fast Conformer redesigns Conformer's downsampling to 8x with depthwise separable convolutions, which the paper measured as a 2.8x faster encoder with accuracy maintained.
- Parakeet encoder
- ParakeetEncoder
- parakeet_encoder
- Fast Conformer
- FastConformer
- Parakeet
- speech encoder
- automatic speech recognition
- ASR
- NeMo
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{rekesh2023fastconformerlinearlyscalable,
title={Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition},
author={Dima Rekesh and Nithin Rao Koluguri and Samuel Kriman and Somshubra Majumdar and Vahid Noroozi and He Huang and Oleksii Hrinchuk and Krishna Puvvada and Ankur Kumar and Jagadeesh Balam and Boris Ginsburg},
year={2023},
eprint={2305.05084},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2305.05084},
}