Instructions to use speechbrain/asr-transformer-aishell with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- speechbrain
How to use speechbrain/asr-transformer-aishell with speechbrain:
from speechbrain.pretrained import EncoderDecoderASR model = EncoderDecoderASR.from_hparams( "speechbrain/asr-transformer-aishell" ) model.transcribe_file("file.wav") - Notebooks
- Google Colab
- Kaggle
Download example_mandarin2.flac from speechbrain/asr-transformer-aishell: direct link, hf CLI and curl.
- Browser
- Download file 170 kB
-
https://huggingface.co/speechbrain/asr-transformer-aishell/resolve/main/example_mandarin2.flac
- Command line
-
hf download hf://speechbrain/asr-transformer-aishell/example_mandarin2.flac
-
curl -L -o example_mandarin2.flac https://huggingface.co/speechbrain/asr-transformer-aishell/resolve/main/example_mandarin2.flac
170 kB