kaushal98b
commited on
Commit
•
3a8b48b
1
Parent(s):
db65b41
Update README.md
Browse files
README.md
CHANGED
@@ -48,13 +48,13 @@ library_name: nemo
|
|
48 |
### Inference using CTC decoder
|
49 |
```
|
50 |
model.cur_decoder = "ctc"
|
51 |
-
ctc_text = model.transcribe(['sample_audio_infer_ready.wav'], batch_size=1,logprobs=False, language_id='
|
52 |
print(ctc_text)
|
53 |
```
|
54 |
|
55 |
### Inference using RNNT decoder
|
56 |
```
|
57 |
model.cur_decoder = "rnnt"
|
58 |
-
rnnt_text = model.transcribe(['sample_audio_infer_ready.wav'], batch_size=1, language_id='
|
59 |
print(rnnt_text)
|
60 |
```
|
|
|
48 |
### Inference using CTC decoder
|
49 |
```
|
50 |
model.cur_decoder = "ctc"
|
51 |
+
ctc_text = model.transcribe(['sample_audio_infer_ready.wav'], batch_size=1,logprobs=False, language_id='ta')[0]
|
52 |
print(ctc_text)
|
53 |
```
|
54 |
|
55 |
### Inference using RNNT decoder
|
56 |
```
|
57 |
model.cur_decoder = "rnnt"
|
58 |
+
rnnt_text = model.transcribe(['sample_audio_infer_ready.wav'], batch_size=1, language_id='ta')[0]
|
59 |
print(rnnt_text)
|
60 |
```
|