All models

wavlm (audio classification)

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

Audio and speech · 717 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 (36 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.6M
Operations
717
Framework
PyTorch
Recurrent
No
Published
2022
Name in source
wavlm:audio-classification
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
m11234
Graph hash
8c09c5df1b6d3b0550239515e57674baad2f6b253990483edee241c11ba07ff9
Skeleton hash
12accb6bae2364bdf1edeee19d9ebc101016aabb61bbfb91acca1dbd3839db57
Architecture hash
fd53c34a5853bd0ab1e5cf6aa7a7be736badee42b47dcff808615d71cf4fe188
Diagram SHA-256
8f0aea2384732eb4f71636530a75904778851d51b668188edb2da0f07ee192da
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.