Model reference · open weights
mhubert-25hz is an open-weight embedding model from slprl. mhubert-base-25hz (FP32) weighs 190 MB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the slprl/mhubert-base-25hz model card, 2026-10-01
What it is
| Released by | slprl |
|---|---|
| Released | 2024-10-24 |
| Parameters | 95M |
| VRAM | 190 MB for the weights |
What it runs on
| Card | Runs | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
This is a version of Hubert by Meta. This version was introduced in TWIST and showed lots of value as a speech tokeniser for training SpeechLMs.
These model weights were converted by SLP-RL from the original Textlesslib release.
This Hubert model was introduced in TWIST we encourage you to look there for the full details.
It was trained on a varied mixture of datasets: Multilingual LS, Vox Populi, Common Voice, Spotify, and Fisher. This Hubert base model was trained for 3 iterations with the default 50Hz features rate. For the 4-th iteration, they add an additional convolutional layer at the CNN Encoder with the stride 2, resulting in features of 25Hz.
We converted the original Fairseq release to Huggingface🤗 using the conversion script, after adding support, and asserted that the results are identical.
transformers.HubertModelThis is a base HubertModel and as such is useful as a feature extractor for speech tokenisation for usages such as Spoken Language Modelling or Speaking Style Conversion.
This model requires a new version of transformers - transformers>=4.48, so make sure you have it installed.
Afterwards it can be used as follows:
from transformers import HubertModel
model = HubertModel.from_pretrained('slprl/mhubert-base-25hz')
BibTeX:
@article{hassid2024textually,
title={Textually pretrained speech language models},
author={Hassid, Michael and Remez, Tal and Nguyen, Tu Anh and Gat, Itai and Conneau, Alexis and Kreuk, Felix and Copet, Jade and Defossez, Alexandre and Synnaeve, Gabriel and Dupoux, Emmanuel and others},
journal={Advances in Neural Information Processing Systems},
volume={36},
year={2024}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.