All models

wavlm (audio frame classification)

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

Audio and speech · 715 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
715
Framework
PyTorch
Recurrent
No
Published
2022
Name in source
wavlm:audio-frame-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
m11235
Graph hash
92f99bc73d3453c1f5f8dfd84c69de57dae8fb60679a650eadc56778ccfe9a8e
Skeleton hash
c583f5614071d9bfd905432fbfe65407359b0c04e2595b907079bbdd27716b92
Architecture hash
c32c9784449e150f71782ff884829c108067cfbd48d714463d6b4d7d421bcd19
Diagram SHA-256
f82f764600f246b0af28512e9a9d984281f5c6e34bfcde031de32ed214423707
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.