
HUBERT_BASE
Audio and speech305 ops94.4M params
Self-supervised speech encoder trained by masked prediction of clustered acoustic units.
Audio and speech · 332 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
HuBERT is a self-supervised speech model: it clusters aligned target labels for a BERT-like prediction loss and applies that loss only over masked regions, which forces the model to learn both acoustic and language modeling over continuous inputs. It was built for the awkward facts of speech: multiple sound units per utterance, no lexicon during pre-training, and variable-length sound units without explicit segmentation. The models expect raw audio input as a 1D float array sampled at 16kHz.
In torchaudio the base, large and extra large builds are all instances of its Wav2Vec2Model class. In Hugging Face Transformers the CTC head is the one the docs use to automatically transcribe speech into text.
Key idea. A BERT-like masked prediction loss over clustered acoustic targets, applied only on masked regions, so the model learns acoustic and language modeling from continuous speech without a lexicon.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.