Instructions to use speechbrain/asr-crdnn-transformerlm-librispeech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- speechbrain
How to use speechbrain/asr-crdnn-transformerlm-librispeech with speechbrain:
from speechbrain.pretrained import EncoderDecoderASR model = EncoderDecoderASR.from_hparams( "speechbrain/asr-crdnn-transformerlm-librispeech" ) model.transcribe_file("file.wav") - Notebooks
- Google Colab
- Kaggle
Turn off batch-norm but leave dropout on
#1
by matiuste - opened
To whom it may concern,
I would like to make inferences by keeping dropout on and turning off batch-norm or any other process that may update any parameter of the network.
I tried making inferences on evaluation mode, but this also turned off dropout.
Any clue may help.
Thanks in advance,
Matias P.
Hi,
If you wish to do that, you will have to modify the interfaces.py directly. You can really override the interface class and do whatever. I guess that in your case, you can just copy and past the code of this interface and add some .train() somewhere.