All models

wav2vec2-conformer (CTC ASR)

Wav2Vec2 with its attention blocks swapped for Conformer blocks for a lower word error rate.

Audio and speech · 733 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

Loading diagram (32 KB)

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
179.8M
Operations
733
Framework
PyTorch
Recurrent
No
Name in source
wav2vec2-conformer:ctc-asr
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
m11217
Graph hash
116824c312427249090912d1dec99bbf88cb7d38dc5006be7a0a97c8a15667c6
Skeleton hash
187ec88c80cae5ddbdc292894708bebf307441b109c7565de872c8360d54a494
Architecture hash
5c90e0be17577740412f1279aab9f4a3492bc8ba6cfee218dc088de6f2359932
Diagram SHA-256
b5e9fa2601d6a5189ab3ccd95c6ade126afabac20fbf00a713d47691c7649d41
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

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.

  • wav2vec2-conformer
  • wav2vec2 conformer
  • wav2vec 2.0 conformer
  • conformer
  • wav2vec2
  • fairseq
  • speech recognition
  • asr
  • transformers

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