All models

wavlm (CTC ASR)

Self-supervised speech encoder tuned for both spoken content and speaker identity tasks.

Audio and speech · 716 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 (35 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

Family
WavLM
Parameters
94.4M
Operations
716
Framework
PyTorch
Recurrent
No
Published
2022
Name in source
wavlm: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
m11236
Graph hash
4416e8dc1f739e12743ebf948b4e558ffe02db63ee0794945e63ca17c4f64ac1
Skeleton hash
0edd9b16ab053bb1d9329ec62abb7cdb4f24991b4686f70ed8a3a648f207f76b
Architecture hash
97bfc0eb6ea15e2370563e4107b2e8f41879cdb89503ed16f469518dfba9acda
Diagram SHA-256
ed87cb92877024e60bfda73ac2a3de0d2822f6f7698ba4433188ca7bba2deb0f
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

WavLM is a self-supervised speech model built to serve the full stack of speech tasks, not just recognition. It is built on the HuBERT framework, with an emphasis on both spoken content modeling and speaker identity preservation. Two changes do the work: the Transformer gets a gated relative position bias to help recognition tasks. For better speaker discrimination, training mixes in additional overlapped utterances that are created without supervision. The training set also grew from 60k hours to 94k hours.

Hugging Face exposes it through task heads, and WavLM can be fine-tuned with CTC, in which case the output has to be decoded with the Wav2Vec2 CTC tokenizer. It performs especially well on speaker verification, speaker identification and speaker diarization. The torchaudio base and large builds, spelled WaveLM in their docstrings, are architecture-compatible with Wav2Vec2 and return the Wav2Vec2Model class. The paper reports WavLM Large achieving state-of-the-art performance on the SUPERB benchmark.

Key idea. A HuBERT-based pre-trained speech model aimed at full-stack speech tasks, balancing spoken content modeling with speaker identity preservation.

  • wavlm
  • wav lm
  • wavlm base
  • wavlm base plus
  • wavlm large
  • self-supervised speech
  • speaker verification
  • speech recognition encoder
  • torchaudio wavlm
  • transformers wavlm
  • hubert

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