|
|
|
@ -34,36 +34,35 @@ model:
|
|
|
|
|
lsm_weight: 0.1 # label smoothing option
|
|
|
|
|
length_normalized_loss: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data:
|
|
|
|
|
train_manifest: data/manifest.train
|
|
|
|
|
dev_manifest: data/manifest.dev
|
|
|
|
|
test_manifest: data/manifest.test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
collator:
|
|
|
|
|
vocab_filepath: data/lang_char/vocab.txt
|
|
|
|
|
unit_type: 'spm'
|
|
|
|
|
spm_model_prefix: 'data/lang_char/bpe_unigram_5000'
|
|
|
|
|
mean_std_filepath: ""
|
|
|
|
|
augmentation_config: conf/preprocess.yaml
|
|
|
|
|
batch_size: 64
|
|
|
|
|
raw_wav: True # use raw_wav or kaldi feature
|
|
|
|
|
spectrum_type: fbank #linear, mfcc, fbank
|
|
|
|
|
feat_dim: 80
|
|
|
|
|
delta_delta: False
|
|
|
|
|
dither: 1.0
|
|
|
|
|
target_sample_rate: 16000
|
|
|
|
|
max_freq: None
|
|
|
|
|
n_fft: None
|
|
|
|
|
stride_ms: 10.0
|
|
|
|
|
window_ms: 25.0
|
|
|
|
|
use_dB_normalization: True
|
|
|
|
|
target_dB: -20
|
|
|
|
|
random_seed: 0
|
|
|
|
|
keep_transcription_text: False
|
|
|
|
|
sortagrad: True
|
|
|
|
|
shuffle_method: batch_shuffle
|
|
|
|
|
num_workers: 2
|
|
|
|
|
sortagrad: 0 # Feed samples from shortest to longest ; -1: enabled for all epochs, 0: disabled, other: enabled for 'other' epochs
|
|
|
|
|
batch_size: 64
|
|
|
|
|
maxlen_in: 512 # if input length > maxlen-in, batchsize is automatically reduced
|
|
|
|
|
maxlen_out: 150 # if output length > maxlen-out, batchsize is automatically reduced
|
|
|
|
|
minibatches: 0 # for debug
|
|
|
|
|
batch_count: auto
|
|
|
|
|
batch_bins: 0
|
|
|
|
|
batch_frames_in: 0
|
|
|
|
|
batch_frames_out: 0
|
|
|
|
|
batch_frames_inout: 0
|
|
|
|
|
augmentation_config: conf/preprocess.yaml
|
|
|
|
|
num_workers: 0
|
|
|
|
|
subsampling_factor: 1
|
|
|
|
|
num_encs: 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
training:
|
|
|
|
@ -101,6 +100,4 @@ decoding:
|
|
|
|
|
# >0: for decoding, use fixed chunk size as set.
|
|
|
|
|
# 0: used for training, it's prohibited here.
|
|
|
|
|
num_decoding_left_chunks: -1 # number of left chunks for decoding. Defaults to -1.
|
|
|
|
|
simulate_streaming: true # simulate streaming inference. Defaults to False.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
simulate_streaming: true # simulate streaming inference. Defaults to False.
|