Model reference · open weights
asr-branchformer-large-tedlium2 is an open-weight audio or speech model from speechbrain. asr-branchformer-large-tedlium2 (BF16) weighs 417 MB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the speechbrain/asr-branchformer-large-tedlium2 model card, 2026-10-01
What it is
| Released by | speechbrain |
|---|---|
| Released | 2023-10-27 |
| VRAM | 417 MB for the weights |
What it runs on
| Card | One stream | 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 repository provides all the necessary tools to perform automatic speech recognition from an end-to-end system pretrained on Tedlium2 (EN) within SpeechBrain. For a better experience, we encourage you to learn more about SpeechBrain. The performance of the model is the following:
| Release | Test WER (no LM) | GPUs |
|---|---|---|
| 21-06-23 | 8.11 | 1xA100 80GB |
This ASR system is composed of 3 different but linked blocks:
The system is trained with recordings sampled at 16kHz (single channel). The code will automatically normalize your audio (i.e., resampling + mono channel selection) when calling transcribe_file if needed.
First of all, please install SpeechBrain with the following command:
pip install speechbrain
Please notice that we encourage you to read our tutorials and learn more about SpeechBrain.
from speechbrain.inference.ASR import EncoderDecoderASR
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-branchformer-large-tedlium2")
asr_model.transcribe_file("speechbrain/asr-branchformer-large-tedlium2/example.wav")
To perform inference on the GPU, add run_opts={"device":"cuda"} when calling the from_hparams method.
The model was trained with SpeechBrain (Commit hash: '73e48d6'). To train it from scratch follow these steps:
git clone https://github.com/speechbrain/speechbrain/
cd speechbrain
pip install -r requirements.txt
pip install -e .
cd recipes/Tedlium2/Tokenizer
python train.py hparams/tedlium2_500_bpe.yaml --data_folder /path/to/tedlium2 --clipped_utt_folder /path/to/clipped_folder
cd ../ASR/transformer
python train.py hparams/branchformer_large.yaml --pretrained_tokenizer_file /path/to/tokenizer --data_folder /path/to/tedlium2 --clipped_utt_folder /path/to/clipped_folder
You can find our training results (models, logs, etc) here.
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
Please, cite SpeechBrain if you use it for your research or business.
@misc{speechbrain,
title={{SpeechBrain}: A General-Purpose Speech Toolkit},
author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
year={2021},
eprint={2106.04624},
archivePrefix={arXiv},
primaryClass={eess.AS},
note={arXiv:2106.04624}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
How it works