appledora commited on
Commit
0b122bd
1 Parent(s): 39ed1b2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -27,7 +27,7 @@ pip install torchmetrics==0.9.2
27
  After installing the required dependencies, download the .nemo file or the pretrained model to your local directory. you can instantiate the pretrained model like following:
28
  ```python
29
  import nemo.collections.asr as nemo_asr
30
- asr_model = nemo_asr.models.EncDecCTCModelBPE.restore_from(restore_path="<MODEL PATH>")
31
  ```
32
  ## Data Preprocessing
33
  Prior to feeding the input audio to the pretrained model for training or inference, we need to resample the audio to **16KHz**. We can achieve that using the `sox` library :
 
27
  After installing the required dependencies, download the .nemo file or the pretrained model to your local directory. you can instantiate the pretrained model like following:
28
  ```python
29
  import nemo.collections.asr as nemo_asr
30
+ asr_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained("bengaliAI/BanglaConformer")
31
  ```
32
  ## Data Preprocessing
33
  Prior to feeding the input audio to the pretrained model for training or inference, we need to resample the audio to **16KHz**. We can achieve that using the `sox` library :