All models

WAVLM_LARGE

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

Audio and speech · 1,037 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 (29 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
315.5M
Operations
1,037
Framework
PyTorch
Recurrent
No
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
m3362
Graph hash
b5357658ae39c8ac17f18696f88dfeebd9604e4625bc60616c78d3684043f42e
Skeleton hash
3f745bc428fb4d984ac0aa55b5a1c9df260ed2b692bbf82598587363edf4b6b2
Architecture hash
039770d3c3b66fe08c2f570cc4ce3695e51ef0bee54354b0d9b57ecbc9339ac9
Diagram SHA-256
a7e7032893493470c886ea70dcea0738267b38ff9b8a8d3ed6a1fb8088f6a788
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.