Skip to content

Commit 9c1e098

Browse files
authored
[Asr][Config] fix config (#1293)
* fix config, test=asr * fix config, test=doc_fix
1 parent 6a85cfa commit 9c1e098

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

examples/aishell/asr0/conf/deepspeech2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ctc_grad_norm_type: instance
5454
###########################################
5555
n_epoch: 80
5656
accum_grad: 1
57-
lr: 2e-3
57+
lr: 2.0e-3
5858
lr_decay: 0.83
5959
weight_decay: 1.0e-6
6060
global_grad_clip: 3.0

examples/aishell/asr0/conf/deepspeech2_online.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ blank_id: 0
5656
###########################################
5757
n_epoch: 65
5858
accum_grad: 1
59-
lr: 5e-4
59+
lr: 5.0e-4
6060
lr_decay: 0.93
6161
weight_decay: 1.0e-6
6262
global_grad_clip: 3.0

examples/librispeech/asr0/conf/deepspeech2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ blank_id: 0
5555
###########################################
5656
n_epoch: 50
5757
accum_grad: 1
58-
lr: 1e-3
58+
lr: 1.0e-3
5959
lr_decay: 0.83
60-
weight_decay: 1e-06
60+
weight_decay: 1.0e-6
6161
global_grad_clip: 5.0
6262
log_interval: 100
6363
checkpoint:

examples/librispeech/asr0/conf/deepspeech2_online.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ blank_id: 0
5757
###########################################
5858
n_epoch: 50
5959
accum_grad: 4
60-
lr: 1e-3
60+
lr: 1.0e-3
6161
lr_decay: 0.83
62-
weight_decay: 1e-06
62+
weight_decay: 1.0e-6
6363
global_grad_clip: 5.0
6464
log_interval: 100
6565
checkpoint:

examples/tiny/asr0/conf/deepspeech2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ blank_id: 0
5555
###########################################
5656
n_epoch: 5
5757
accum_grad: 1
58-
lr: 1e-5
58+
lr: 1.0e-5
5959
lr_decay: 0.8
6060
weight_decay: 1.0e-6
6161
global_grad_clip: 5.0

examples/tiny/asr0/conf/deepspeech2_online.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ blank_id: 0
5757
###########################################
5858
n_epoch: 5
5959
accum_grad: 1
60-
lr: 1e-5
60+
lr: 1.0e-5
6161
lr_decay: 1.0
6262
weight_decay: 1.0e-6
6363
global_grad_clip: 5.0

examples/wenetspeech/asr1/local/data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
9696
python3 ${MAIN_ROOT}/utils/build_vocab.py \
9797
--unit_type="char" \
9898
--count_threshold=0 \
99-
--vocab_path="data/vocab.txt" \
99+
--vocab_path="data/lang_char/vocab.txt" \
100100
--manifest_paths "data/manifest.train.raw"
101101

102102
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)