config.yaml 659 Bytes
Newer Older
SWHL's avatar
SWHL committed
1
TokenIDConverter:
SWHL's avatar
SWHL committed
2
  token_path: resources/models/token_list.pkl
SWHL's avatar
SWHL committed
3
4
5
6
7
8
9
10
  unk_symbol: <unk>

CharTokenizer:
  symbol_value:
  space_symbol: <space>
  remove_non_linguistic_symbols: false

WavFrontend:
SWHL's avatar
SWHL committed
11
  cmvn_file: resources/models/am.mvn
SWHL's avatar
SWHL committed
12
13
14
15
16
17
18
19
20
  frontend_conf:
    fs: 16000
    window: hamming
    n_mels: 80
    frame_length: 25
    frame_shift: 10
    lfr_m: 7
    lfr_n: 6
    filter_length_max: -.inf
SWHL's avatar
SWHL committed
21
    dither: 0.0
SWHL's avatar
SWHL committed
22
23

Model:
SWHL's avatar
SWHL committed
24
  model_path: resources/models/model.onnx
SWHL's avatar
SWHL committed
25
26
27
28
29
  use_cuda: false
  CUDAExecutionProvider:
      device_id: 0
      arena_extend_strategy: kNextPowerOfTwo
      cudnn_conv_algo_search: EXHAUSTIVE
SWHL's avatar
SWHL committed
30
31
      do_copy_in_default_stream: true
  batch_size: 3