Skip to content

Commit

Permalink
Updated config to show how to use different models
Browse files Browse the repository at this point in the history
  • Loading branch information
sxdxfan authored Sep 23, 2020
1 parent 6c9fa42 commit c0608dc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions config.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[Wav2Letter]
labels = [_-абвгдеёжзийклмнопрстуфхцчшщъыьэюя ]
model_path = Data/w2l.hdf
lm_path = Data/lm.klm
model_path = Data/w2l-8khz.hdf
# model_path = Data/w2l-16khz.hdf
lm_path = Data/vosk/lm.klm
# lm_path = Data/light/lm.klm
lexicon = Data/vosk/lexicon.txt
# lexicon = Data/light/lexicon.txt
tokens = Data/tokens.txt
lexicon = Data/lexicon.txt
cpu = 1
greedy = 0
beam_threshold = 30
sample_rate = 16000
beam_threshold = 10
sample_rate = 8000
# sample_rate = 16000
window_size = 0.02
window_stride = 0.01

0 comments on commit c0608dc

Please sign in to comment.