Converts raw audio into a time-frequency image on a perceptual (mel) scale. The standard input for speech models.
Raw waveforms are too long and too low-level for transformers, so audio models first compute a spectrogram: short-time Fourier transforms binned onto the mel scale, which spaces frequencies the way human hearing does. The result is effectively an image (time × mel bins) that convolutional or transformer encoders can process like any other 2-D input.
Share of new models that have included a mel spectrogram front-end over time.
Open any of these on hfviewer to find this block in the interactive architecture graph.
Browse all 46 models with this in the catalog →
hfviewer renders the full architecture of 3,500+ Hugging Face models as interactive graphs. Hover any block to see what it does, with this model’s real numbers.
Browse all model graphs →