All models

wav2vec2-conformer (speaker x-vector)

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

Audio and speech · 767 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 (23 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
185.8M
Operations
767
Framework
PyTorch
Recurrent
No
Name in source
wav2vec2-conformer:speaker-xvector
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
m11218
Graph hash
35deb7264535ecb460bf9815816e61c0f14174a5102e50189f84ec93e1a51f24
Skeleton hash
ecb812c1f7e6a23af0cb27e9480ecc56fb028ba650e8df981a9fe13c296f7c83
Architecture hash
86eca709fa51b794cc5526e57c74a05ab7dd0478da6e7a34a591b484a947ccda
Diagram SHA-256
2cd3c65452e6043d6a60e12bfbe3d94d124a7daf6cefc166f1172437a0790896
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.