diff --git a/examples/aishell/asr0/conf/deepspeech2.yaml b/examples/aishell/asr0/conf/deepspeech2.yaml index 338810fa..fb699864 100644 --- a/examples/aishell/asr0/conf/deepspeech2.yaml +++ b/examples/aishell/asr0/conf/deepspeech2.yaml @@ -54,7 +54,7 @@ ctc_grad_norm_type: instance ########################################### n_epoch: 80 accum_grad: 1 -lr: 2e-3 +lr: 2.0e-3 lr_decay: 0.83 weight_decay: 1.0e-6 global_grad_clip: 3.0 diff --git a/examples/aishell/asr0/conf/deepspeech2_online.yaml b/examples/aishell/asr0/conf/deepspeech2_online.yaml index b5f164eb..ef01ac59 100644 --- a/examples/aishell/asr0/conf/deepspeech2_online.yaml +++ b/examples/aishell/asr0/conf/deepspeech2_online.yaml @@ -56,7 +56,7 @@ blank_id: 0 ########################################### n_epoch: 65 accum_grad: 1 -lr: 5e-4 +lr: 5.0e-4 lr_decay: 0.93 weight_decay: 1.0e-6 global_grad_clip: 3.0 diff --git a/examples/librispeech/asr0/conf/deepspeech2.yaml b/examples/librispeech/asr0/conf/deepspeech2.yaml index 0b0a1550..0307b9f3 100644 --- a/examples/librispeech/asr0/conf/deepspeech2.yaml +++ b/examples/librispeech/asr0/conf/deepspeech2.yaml @@ -55,9 +55,9 @@ blank_id: 0 ########################################### n_epoch: 50 accum_grad: 1 -lr: 1e-3 +lr: 1.0e-3 lr_decay: 0.83 -weight_decay: 1e-06 +weight_decay: 1.0e-6 global_grad_clip: 5.0 log_interval: 100 checkpoint: diff --git a/examples/librispeech/asr0/conf/deepspeech2_online.yaml b/examples/librispeech/asr0/conf/deepspeech2_online.yaml index 8bd5a672..a0d2bcfe 100644 --- a/examples/librispeech/asr0/conf/deepspeech2_online.yaml +++ b/examples/librispeech/asr0/conf/deepspeech2_online.yaml @@ -57,9 +57,9 @@ blank_id: 0 ########################################### n_epoch: 50 accum_grad: 4 -lr: 1e-3 +lr: 1.0e-3 lr_decay: 0.83 -weight_decay: 1e-06 +weight_decay: 1.0e-6 global_grad_clip: 5.0 log_interval: 100 checkpoint: diff --git a/examples/tiny/asr0/conf/deepspeech2.yaml b/examples/tiny/asr0/conf/deepspeech2.yaml index a8d77388..64d432e2 100644 --- a/examples/tiny/asr0/conf/deepspeech2.yaml +++ b/examples/tiny/asr0/conf/deepspeech2.yaml @@ -55,7 +55,7 @@ blank_id: 0 ########################################### n_epoch: 5 accum_grad: 1 -lr: 1e-5 +lr: 1.0e-5 lr_decay: 0.8 weight_decay: 1.0e-6 global_grad_clip: 5.0 diff --git a/examples/tiny/asr0/conf/deepspeech2_online.yaml b/examples/tiny/asr0/conf/deepspeech2_online.yaml index a5b6e3f7..74a4dc81 100644 --- a/examples/tiny/asr0/conf/deepspeech2_online.yaml +++ b/examples/tiny/asr0/conf/deepspeech2_online.yaml @@ -57,7 +57,7 @@ blank_id: 0 ########################################### n_epoch: 5 accum_grad: 1 -lr: 1e-5 +lr: 1.0e-5 lr_decay: 1.0 weight_decay: 1.0e-6 global_grad_clip: 5.0 diff --git a/examples/wenetspeech/asr1/local/data.sh b/examples/wenetspeech/asr1/local/data.sh index 7dd478d1..d216dd84 100755 --- a/examples/wenetspeech/asr1/local/data.sh +++ b/examples/wenetspeech/asr1/local/data.sh @@ -96,7 +96,7 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then python3 ${MAIN_ROOT}/utils/build_vocab.py \ --unit_type="char" \ --count_threshold=0 \ - --vocab_path="data/vocab.txt" \ + --vocab_path="data/lang_char/vocab.txt" \ --manifest_paths "data/manifest.train.raw" if [ $? -ne 0 ]; then