jmwang66
2023-05-16 6f7e27eb7c2d0a7649ec8f14d167c8da8e29f906
egs/aishell2/transformer/conf/train_asr_transformer.yaml
@@ -23,6 +23,17 @@
    self_attention_dropout_rate: 0.0
    src_attention_dropout_rate: 0.0
# 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
@@ -33,7 +44,7 @@
accum_grad: 2
grad_clip: 5
patience: none
max_epoch: 50
max_epoch: 150
val_scheduler_criterion:
    - valid
    - acc
@@ -66,10 +77,8 @@
    - 40
    num_time_mask: 2
log_interval: 50
normalize: None
dataset_conf:
    data_types: sound,text
    shuffle: True
    shuffle_conf:
        shuffle_size: 2048
@@ -77,4 +86,7 @@
    batch_conf:
        batch_type: token
        batch_size: 25000
    num_workers: 8
    num_workers: 8
log_interval: 50
normalize: None