
wav2vec2-conformer (audio frame classification)
Audio and speech732 ops179.7M params
Wav2Vec2 with its attention blocks swapped for Conformer blocks for a lower word error rate.
Audio and speech · 734 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.
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.
About this model's family
Wav2Vec2-Conformer keeps the Wav2Vec2 architecture but swaps its attention block for a Conformer block, the convolution-augmented Transformer introduced for speech recognition. For the same number of layers it needs more parameters than Wav2Vec2 but yields an improved word error rate. It was added to an updated version of the fairseq S2T paper on fast speech-to-text modeling. The official results sit in Table 3 and Table 4 of that paper.
The weights were released by the Meta AI team within the Fairseq library. It uses the same tokenizer and feature extractor as Wav2Vec2. It can run with no relative position embeddings, Transformer-XL-like position embeddings or rotary position embeddings, chosen through the config. The docs add that Meta released a new version, Wav2Vec2-BERT 2.0, pretrained on 4.5M hours of audio.
Key idea. Wav2Vec2-Conformer replaces the attention block in Wav2Vec2 with a Conformer block, trading more parameters per layer for a lower word error rate.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.