Instructions to use bengaliAI/BanglaConformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use bengaliAI/BanglaConformer with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("bengaliAI/BanglaConformer") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
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.
|
| 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 :
|