All models

WAV2VEC2_XLSR_2B

XLS-R speech encoders at 300M and 1B parameters, built on the Wav2Vec2 architecture.

Audio and speech · 79 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 (13 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

Parameters
85.8K
Operations
79
Framework
PyTorch
Recurrent
No
Source
torchaudio 2.6.0
License
BSD-3-Clause
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
m3358
Graph hash
c2005781de787e85cbea4762b73275b43c1aeabdbf321e25ea1c921ea9a2e7f9
Skeleton hash
d745fa2e38cec6ef916ac52fec6bdf81f69ca27d71ad1ecf38ca517001d5c3c6
Architecture hash
2c81044a803c345dfc129484e6b0d5d925e5565f32a5755fa58887a35cd1342e
Diagram SHA-256
cb146affe59aa028fa33d0d433284d6121f00e084b4252aeb73eeebe2f19717b
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.audio_hard_reimpl:build_wav2vec2_xlsr: build({})

What it is

About this model's family

XLS-R is a speech encoder that torchaudio builds in a 300 million parameter size. A second factory builds the 1 billion parameter version. Architecturally it is compatible with the Wav2Vec2 model, so both factories return torchaudio's Wav2Vec2Model class. The constructor exposes only regularisation settings for the encoder, dropout and layer drop, plus an optional auxiliary output count, all deferring to the generic wav2vec2_model builder.

Key idea. XLS-R encoders at 300 million and 1 billion parameters that reuse the Wav2Vec2 architecture and model class unchanged.

  • xls-r
  • xlsr
  • wav2vec2 xlsr
  • wav2vec 2.0
  • xlsr-53
  • xlsr 300m
  • xlsr 1b
  • xlsr 2b
  • torchaudio wav2vec2
  • speech encoder
  • cross-lingual speech representations

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