
torchaudio.models.wav2vec2_xlsr_2b
Audio and speech79 ops85.8K params
32 models, audio and speech. Fewest parameters first.
wav2vec 2.0 is a framework for learning speech representations from raw audio without transcripts, then fine-tuning on labeled speech. A multi-layer convolutional network encodes the waveform into latent speech representations, and spans of those latents are masked. A Transformer then builds contextualized representations from the latents. In pre-training, the model has to identify the correct quantized latent for each masked time step among a set of distractors.
The feature encoder contains seven blocks of temporal convolutions with 512 channels each. Its output rate is 49 Hz, a stride of about 20ms between frames. In place of fixed positional embeddings, a convolutional layer acts as a relative positional embedding. The paper experiments with two configurations that share the encoder architecture and differ in the Transformer. The larger one has 24 Transformer blocks with model dimension 1,024 and 16 attention heads.
For recognition, a randomly initialized linear projection onto the task vocabulary is added on top of the context network. Models are then optimized with a CTC loss. The paper reports 4.8/8.2 WER on the Librispeech clean/other test sets using ten minutes of labeled data after pre-training on 53k hours of unlabeled data.
AI-written summary; not reviewed by a person. Corrections welcome.
Paper: wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations

Audio and speech79 ops85.8K params

Audio and speech79 ops85.8K params

Audio and speech305 ops94.4M params

Audio and speech305 ops94.4M params

Audio and speech330 ops94.4M params

Audio and speech331 ops94.4M params

Audio and speech306 ops94.4M params

Audio and speech306 ops94.4M params

Audio and speech306 ops94.4M params

Audio and speech306 ops94.4M params

Audio and speech306 ops94.4M params

Audio and speech332 ops94.4M params

Audio and speech306 ops94.4M params

Audio and speech306 ops94.4M params

Audio and speech306 ops94.4M params

Audio and speech366 ops100.5M params

Audio and speech581 ops315.4M params

Audio and speech581 ops315.4M params

Audio and speech601 ops315.4M params

Audio and speech601 ops315.4M params

Audio and speech601 ops315.4M params

Audio and speech601 ops315.4M params

Audio and speech601 ops315.4M params

Audio and speech582 ops315.5M params

Audio and speech582 ops315.5M params

Audio and speech582 ops315.5M params

Audio and speech602 ops315.5M params

Audio and speech602 ops315.5M params

Audio and speech602 ops315.5M params

Audio and speech651 ops315.8M params

Audio and speech1,153 ops962.5M params

Audio and speech1,153 ops962.5M params