[Asr][Config] fix config (#1293)

* fix config, test=asr

* fix config, test=doc_fix
pull/1301/head
Jackwaterveg 3 years ago committed by GitHub
parent 6a85cfad9d
commit 9c1e098693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -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

@ -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:

@ -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:

@ -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

@ -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

@ -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

Loading…
Cancel
Save