You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
4 years ago
|
# https://yaml.org/type/float.html
|
||
|
data:
|
||
|
train_manifest: data/manifest.tiny
|
||
|
dev_manifest: data/manifest.tiny
|
||
|
test_manifest: data/manifest.tiny
|
||
|
mean_std_filepath: data/mean_std.npz
|
||
|
vocab_filepath: data/vocab.txt
|
||
|
augmentation_config: conf/augmentation.config
|
||
|
batch_size: 4
|
||
|
max_duration: 27.0
|
||
|
min_duration: 0.0
|
||
|
specgram_type: linear
|
||
|
target_sample_rate: 16000
|
||
|
max_freq: None
|
||
|
n_fft: None
|
||
|
stride_ms: 10.0
|
||
|
window_ms: 20.0
|
||
|
use_dB_normalization: True
|
||
|
target_dB: -20
|
||
|
random_seed: 0
|
||
|
keep_transcription_text: False
|
||
|
sortagrad: True
|
||
|
shuffle_method: batch_shuffle
|
||
|
num_workers: 0
|
||
|
model:
|
||
|
num_conv_layers: 2
|
||
|
num_rnn_layers: 3
|
||
|
rnn_layer_size: 2048
|
||
|
use_gru: False
|
||
|
share_rnn_weights: True
|
||
|
training:
|
||
|
n_epoch: 20
|
||
|
lr: 1e-5
|
||
|
lr_decay: 1.0
|
||
|
weight_decay: 1e-06
|
||
|
global_grad_clip: 5.0
|
||
|
decoding:
|
||
|
batch_size: 128
|
||
|
error_rate_type: wer
|
||
|
decoding_method: ctc_beam_search
|
||
|
lang_model_path: data/lm/common_crawl_00.prune01111.trie.klm
|
||
|
alpha: 2.5
|
||
|
beta: 0.3
|
||
|
beam_size: 500
|
||
|
cutoff_prob: 1.0
|
||
|
cutoff_top_n: 40
|
||
|
num_proc_bsearch: 8
|