Update README.md
Browse files
README.md
CHANGED
|
@@ -36,7 +36,24 @@ Speech Recognition](https://arxiv.org/abs/2305.05084).
|
|
| 36 |
|
| 37 |
## Uses
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
|
| 42 |
## More Information
|
|
|
|
| 36 |
|
| 37 |
## Uses
|
| 38 |
|
| 39 |
+
make sure these packages are installed:
|
| 40 |
+
```
|
| 41 |
+
!pip install nemo_toolkit['all']
|
| 42 |
+
```
|
| 43 |
+
```python
|
| 44 |
+
import nemo
|
| 45 |
+
print('nemo', nemo.__version__)
|
| 46 |
+
import numpy as np
|
| 47 |
+
import nemo.collections.asr as nemo_asr
|
| 48 |
|
| 49 |
+
asr_model = nemo_asr.models.EncDecRNNTBPEModel.from_pretrained(model_name="Neurai/NeuraSpeech_900h")
|
| 50 |
+
asr_model.transcribe(paths2audio_files=['persian_audio.wav', ], batch_size=1)[0]
|
| 51 |
+
|
| 52 |
+
```
|
| 53 |
+
trascribed text :
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
```
|
| 57 |
|
| 58 |
|
| 59 |
## More Information
|