|
|
@ -3,18 +3,20 @@ data:
|
|
|
|
train_manifest: data/manifest.train
|
|
|
|
train_manifest: data/manifest.train
|
|
|
|
dev_manifest: data/manifest.dev
|
|
|
|
dev_manifest: data/manifest.dev
|
|
|
|
test_manifest: data/manifest.test
|
|
|
|
test_manifest: data/manifest.test
|
|
|
|
vocab_filepath: data/vocab.txt
|
|
|
|
|
|
|
|
unit_type: 'spm'
|
|
|
|
|
|
|
|
spm_model_prefix: 'data/bpe_unigram_5000'
|
|
|
|
|
|
|
|
mean_std_filepath: ""
|
|
|
|
|
|
|
|
augmentation_config: conf/augmentation.json
|
|
|
|
|
|
|
|
batch_size: 64
|
|
|
|
|
|
|
|
min_input_len: 0.5 # second
|
|
|
|
min_input_len: 0.5 # second
|
|
|
|
max_input_len: 20.0 # second
|
|
|
|
max_input_len: 20.0 # second
|
|
|
|
min_output_len: 0.0 # tokens
|
|
|
|
min_output_len: 0.0 # tokens
|
|
|
|
max_output_len: 400.0 # tokens
|
|
|
|
max_output_len: 400.0 # tokens
|
|
|
|
min_output_input_ratio: 0.05
|
|
|
|
min_output_input_ratio: 0.05
|
|
|
|
max_output_input_ratio: 10.0
|
|
|
|
max_output_input_ratio: 10.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
collator:
|
|
|
|
|
|
|
|
vocab_filepath: data/vocab.txt
|
|
|
|
|
|
|
|
unit_type: 'spm'
|
|
|
|
|
|
|
|
spm_model_prefix: 'data/bpe_unigram_5000'
|
|
|
|
|
|
|
|
mean_std_filepath: ""
|
|
|
|
|
|
|
|
augmentation_config: conf/augmentation.json
|
|
|
|
|
|
|
|
batch_size: 64
|
|
|
|
raw_wav: True # use raw_wav or kaldi feature
|
|
|
|
raw_wav: True # use raw_wav or kaldi feature
|
|
|
|
specgram_type: fbank #linear, mfcc, fbank
|
|
|
|
specgram_type: fbank #linear, mfcc, fbank
|
|
|
|
feat_dim: 80
|
|
|
|
feat_dim: 80
|
|
|
@ -103,6 +105,6 @@ decoding:
|
|
|
|
# >0: for decoding, use fixed chunk size as set.
|
|
|
|
# >0: for decoding, use fixed chunk size as set.
|
|
|
|
# 0: used for training, it's prohibited here.
|
|
|
|
# 0: used for training, it's prohibited here.
|
|
|
|
num_decoding_left_chunks: -1 # number of left chunks for decoding. Defaults to -1.
|
|
|
|
num_decoding_left_chunks: -1 # number of left chunks for decoding. Defaults to -1.
|
|
|
|
simulate_streaming: False # simulate streaming inference. Defaults to False.
|
|
|
|
simulate_streaming: true # simulate streaming inference. Defaults to False.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|