All models

wav2vec2-bert (audio frame classification)

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,421 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 (14 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
580.5M
Operations
1,421
Framework
PyTorch
Recurrent
No
Published
2023
Cited by
498 (as of 20 November 2026)
Authors
Seamless Communication
Name in source
wav2vec2-bert:audio-frame-classification
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
m11212
Graph hash
043bb0c6d0fed378ae328806f7bf92b4f4ef0b7d46e2bc738d97fa56393e65c3
Skeleton hash
2ee74a865b84f3d089701e135865660459017df43b3fdc8aac56994eff2a50c5
Architecture hash
65c7ba84dbd7ee546824a61cb312abc317d4bd692559aca65eb9d405cc2fb00a
Diagram SHA-256
baf48a41815e85d75d36da4e4d00f63ff178be868c2794d96ea60887e1e14c24
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 a frame classification head for tasks like Speaker Diarization.

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}, 
}