All models

wav2vec2-bert (speaker x-vector)

A Conformer-based speech encoder pre-trained on 4.5M hours of unlabeled audio, with a task-specific head on top.

Audio and speech · 1,456 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 (25 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
586.7M
Operations
1,456
Framework
PyTorch
Recurrent
No
Published
2023
Cited by
498 (as of 20 November 2026)
Authors
Seamless Communication
Name in source
wav2vec2-bert:speaker-xvector
License
CC-BY-NC-4.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
m11214
Graph hash
ddc8cd7e366831bc405d8278c09d2d327206a0944c77b6ff96ef76a7e9bc324a
Skeleton hash
b7d5c8067ec5bfc418e36d9737eda937cde6320a42bca04bfa69165dcf806312
Architecture hash
4c9b09d7187b037e28f9fb0e5e609c0d064b80f5873e616866eb8205f696f801
Diagram SHA-256
d0fabeada70bb7bfa9400cc3dc2d9a6345c880c199a3328b9b183e2a33261b49
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 model adds an XVector feature extraction head for tasks like Speaker Verification.

About this model's family

Wav2Vec2-BERT is a Conformer-based speech encoder, published as W2v-BERT 2.0, that is at the core of the Seamless speech translation models. It was proposed in Seamless: Multilingual Expressive and Streaming Speech Translation by the Seamless Communication team from Meta AI. The encoder was pre-trained on 4.5M hours of unlabeled audio covering more than 143 languages, and it needs fine-tuning before it can be used for tasks such as automatic speech recognition or audio classification.

The paper describes the encoder as 24 Conformer layers with approximately 600M parameters. Compared with the first SeamlessM4T, the authors raised the pre-training data from 1M hours to approximately 4.5M hours and removed the random-projection quantizer and its associated loss.

In the Transformers library, Wav2Vec2-BERT follows the same architecture as Wav2Vec2-Conformer, but employs a causal depthwise convolutional layer and takes a mel-spectrogram representation of the audio as input instead of the raw waveform. It also introduces a Conformer-based adapter network in place of a simple convolutional network, and its position embeddings can be set to none, Shaw-like, Transformer-XL-like or rotary.

Key idea. W2v-BERT 2.0 is a Conformer speech encoder pre-trained on 4.5M hours of unlabeled audio that serves as the speech encoder of SeamlessM4T v2.

  • wav2vec2-bert
  • w2v-bert 2.0
  • w2v-bert
  • speech encoder
  • conformer
  • automatic speech recognition
  • audio classification
  • seamless
  • self-supervised speech

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

Cite the paper

@misc{communication2023seamlessmultilingualexpressivestreaming,
      title={Seamless: Multilingual Expressive and Streaming Speech Translation}, 
      author={Seamless Communication and Loïc Barrault and Yu-An Chung and Mariano Coria Meglioli and David Dale and Ning Dong and Mark Duppenthaler and Paul-Ambroise Duquenne and Brian Ellis and Hady Elsahar and Justin Haaheim and John Hoffman and Min-Jae Hwang and Hirofumi Inaguma and Christopher Klaiber and Ilia Kulikov and Pengwei Li and Daniel Licht and Jean Maillard and Ruslan Mavlyutov and Alice Rakotoarison and Kaushik Ram Sadagopan and Abinesh Ramakrishnan and Tuan Tran and Guillaume Wenzek and Yilin Yang and Ethan Ye and Ivan Evtimov and Pierre Fernandez and Cynthia Gao and Prangthip Hansanti and Elahe Kalbassi and Amanda Kallet and Artyom Kozhevnikov and Gabriel Mejia Gonzalez and Robin San Roman and Christophe Touret and Corinne Wong and Carleigh Wood and Bokai Yu and Pierre Andrews and Can Balioglu and Peng-Jen Chen and Marta R. Costa-jussà and Maha Elbayad and Hongyu Gong and Francisco Guzmán and Kevin Heffernan and Somya Jain and Justine Kao and Ann Lee and Xutai Ma and Alex Mourachko and Benjamin Peloquin and Juan Pino and Sravya Popuri and Christophe Ropers and Safiyyah Saleem and Holger Schwenk and Anna Sun and Paden Tomasello and Changhan Wang and Jeff Wang and Skyler Wang and Mary Williamson},
      year={2023},
      eprint={2312.05187},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2312.05187}, 
}