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
Fix SB 1.0 compatibility
#1
by sdelangen - opened
- hyperparams.yaml +1 -0
hyperparams.yaml
CHANGED
|
@@ -73,6 +73,7 @@ Transformer: !new:speechbrain.lobes.models.transformer.TransformerASR.Transforme
|
|
| 73 |
dropout: !ref <transformer_dropout>
|
| 74 |
activation: !ref <activation>
|
| 75 |
normalize_before: True
|
|
|
|
| 76 |
|
| 77 |
ctc_lin: !new:speechbrain.nnet.linear.Linear
|
| 78 |
input_size: !ref <d_model>
|
|
|
|
| 73 |
dropout: !ref <transformer_dropout>
|
| 74 |
activation: !ref <activation>
|
| 75 |
normalize_before: True
|
| 76 |
+
causal: False
|
| 77 |
|
| 78 |
ctc_lin: !new:speechbrain.nnet.linear.Linear
|
| 79 |
input_size: !ref <d_model>
|