雾聪
2023-06-28 54931dd4e1a099d7d6f144c4e12e5453deb3aa26
egs/librispeech/conformer/conf/train_asr_conformer.yaml
@@ -27,13 +27,25 @@
    self_attention_dropout_rate: 0.1
    src_attention_dropout_rate: 0.1
# frontend related
frontend: wav_frontend
frontend_conf:
    fs: 16000
    window: hamming
    n_mels: 80
    frame_length: 25
    frame_shift: 10
    lfr_m: 1
    lfr_n: 1
# hybrid CTC/attention
model_conf:
    ctc_weight: 0.3
    lsm_weight: 0.1
    length_normalized_loss: false
accum_grad: 2
max_epoch: 50
max_epoch: 150
patience: none
init: none
best_model_criterion:
@@ -69,7 +81,7 @@
dataset_conf:
    shuffle: True
    shuffle_conf:
        shuffle_size: 2048
        shuffle_size: 1024
        sort_size: 500
    batch_conf:
        batch_type: token