Skip to content

Commit c0608dc

Browse files
authored
Updated config to show how to use different models
1 parent 6c9fa42 commit c0608dc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

config.ini

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
[Wav2Letter]
22
labels = [_-абвгдеёжзийклмнопрстуфхцчшщъыьэюя ]
3-
model_path = Data/w2l.hdf
4-
lm_path = Data/lm.klm
3+
model_path = Data/w2l-8khz.hdf
4+
# model_path = Data/w2l-16khz.hdf
5+
lm_path = Data/vosk/lm.klm
6+
# lm_path = Data/light/lm.klm
7+
lexicon = Data/vosk/lexicon.txt
8+
# lexicon = Data/light/lexicon.txt
59
tokens = Data/tokens.txt
6-
lexicon = Data/lexicon.txt
710
cpu = 1
811
greedy = 0
9-
beam_threshold = 30
10-
sample_rate = 16000
12+
beam_threshold = 10
13+
sample_rate = 8000
14+
# sample_rate = 16000
1115
window_size = 0.02
1216
window_stride = 0.01

0 commit comments

Comments
 (0)