menon92 commited on
Commit
d0be2d1
1 Parent(s): 1ad791a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -15,11 +15,17 @@ This model can be used for transcribing Bangla audio and also can be used as pre
15
  To install [NeMo](https://github.com/NVIDIA/NeMo) check NeMo documentation.
16
 
17
  ### Inferencing
 
18
  ```py
 
 
19
  import nemo.collections.asr as nemo_asr
20
  asr_model = nemo_asr.models.ASRModel.from_pretrained("hishab/hishab_bn_fastconformer")
21
 
22
- transcriptions = asr_model.transcribe(["file.wav"])
 
 
 
23
  ```
24
  ## Training Datasets
25
 
 
15
  To install [NeMo](https://github.com/NVIDIA/NeMo) check NeMo documentation.
16
 
17
  ### Inferencing
18
+ [Download test_bn_fastconformer.wav](https://huggingface.co/hishab/hishab_bn_fastconformer/blob/main/test_bn_fastconformer.wav)
19
  ```py
20
+ # pip install -q 'nemo_toolkit[asr]'
21
+
22
  import nemo.collections.asr as nemo_asr
23
  asr_model = nemo_asr.models.ASRModel.from_pretrained("hishab/hishab_bn_fastconformer")
24
 
25
+ auido_file = "test_bn_fastconformer.wav"
26
+ transcriptions = asr_model.transcribe([auido_file])
27
+ print(transcriptions)
28
+ # ['আজ সরকারি ছুটির দিন দেশের সব শিক্ষা প্রতিষ্ঠান সহ সরকারি আধা সরকারি স্বায়ত্তশাসিত প্রতিষ্ঠান ও ভবনে জাতীয় পতাকা অর্ধনমিত ও কালো পতাকা উত্তোলন করা হয়েছে']
29
  ```
30
  ## Training Datasets
31