Commit
·
34c2de6
1
Parent(s):
ef88c7a
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,8 @@ This model is intended for general-purpose speech recognition, such as broadcast
|
|
| 23 |
from espnet2.bin.asr_inference import Speech2Text
|
| 24 |
|
| 25 |
model = Speech2Text.from_pretrained(
|
| 26 |
-
"TalTechNLP/espnet2_estonian"
|
|
|
|
| 27 |
)
|
| 28 |
|
| 29 |
# read a sound file with 16k sample rate
|
|
|
|
| 23 |
from espnet2.bin.asr_inference import Speech2Text
|
| 24 |
|
| 25 |
model = Speech2Text.from_pretrained(
|
| 26 |
+
"TalTechNLP/espnet2_estonian",
|
| 27 |
+
lm_weight=0.6, ctc_weight=0.4, beam_size=60
|
| 28 |
)
|
| 29 |
|
| 30 |
# read a sound file with 16k sample rate
|