Downloads · 30 days
18
1% of all-time downloads
speechbrain/asr-conformer-loquacious
asr-conformer-loquacious is a automatic speech recognition model from speechbrain. Use it when you need speech turned into text. It is set up for speechbrain. The card lists the license as apache-2.0.
This model is a contribution of the Samsung AI Center-Cambridge.
Downloads · 30 days
18
1% of all-time downloads
All-time downloads
1.5K
Public
Repo size
1.9 GB
Likes
16
Public
Click a slice to open those files.
.ckpt1.9 GB · 100%
From the Hugging Face model README
This model is a contribution of the Samsung AI Center-Cambridge.
This repository provides all the necessary tools to perform automatic speech recognition from an end-to-end system pretrained on LargeScaleASR (EN) within SpeechBrain. For a better experience, we encourage you to learn more about SpeechBrain. The performance of the model is the following:
| #params | validation WER | test WER | LibriSpeech test-other | CommonVoice 18 test | Voxpopuli test | GPUs |
|---|---|---|---|---|---|---|
| 480M | 6.8 | 7.5 | 4.6 | 12.0 | 6.9 | 8xV100 32GB |
If you want to train your own model on this dataset, please refer to the SpeechBrain toolkit.
This ASR system is composed of 2 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
# For a full decoding with a large beam size (can be slow):
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-conformer-largescaleasr", savedir="pretrained_models/asr-conformer-largescaleasr")
# For greedy decoding:
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-conformer-largescaleasr", savedir="pretrained_models/asr-conformer-largescaleasr", overrides={"test_beam_size":"1"})
# For Attn. only decoding (faster):
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-conformer-largescaleasr", savedir="pretrained_models/asr-conformer-largescaleasr", overrides={"scorer":None, "ctc_weight_decode":0.0})
# For even faster decoding
asr_model.transcribe_file("speechbrain/asr-conformer-largescaleasr/example.wav")
To perform inference on the GPU, add run_opts={"device":"cuda"} when calling the from_hparams method.
Please, see this Colab notebook to figure out how to transcribe in parallel a batch of input sentences using a pre-trained model.
Please, cite SpeechBrain if you use it for your research or business.
@inproceedings{Loquacious,
title = {Loquacious Set: 25,000 Hours of Transcribed and Diverse English Speech Recognition Data for Research and Commercial Use},
author = {Titouan Parcollet and Yuan Tseng and Shucong Zhang and Rogier van Dalen},
year = {2025},
booktitle = {Interspeech 2025},
}
@article{speechbrainV1,
author = {Mirco Ravanelli and Titouan Parcollet and Adel Moumen and Sylvain de Langen and Cem Subakan and Peter Plantinga and Yingzhi Wang and Pooneh Mousavi and Luca Della Libera and Artem Ploujnikov and Francesco Paissan and Davide Borra and Salah Zaiem and Zeyu Zhao and Shucong Zhang and Georgios Karakasidis and Sung-Lin Yeh and Pierre Champion and Aku Rouhe and Rudolf Braun and Florian Mai and Juan Zuluaga-Gomez and Seyed Mahed Mousavi and Andreas Nautsch and Ha Nguyen and Xuechen Liu and Sangeet Sagar and Jarod Duret and Salima Mdhaffar and Ga{{\"e}}lle Laperri{{\`e}}re and Mickael Rouvier and Renato De Mori and Yannick Est{{\`e}}ve},
title = {Open-Source Conversational AI with SpeechBrain 1.0},
journal = {Journal of Machine Learning Research},
year = {2024},
volume = {25},
number = {333},
pages = {1--11},
url = {http://jmlr.org/papers/v25/24-0991.html}
}