提交 35ca7f6e 编写于 作者: H huangyuxin

fix config, test=doc_fix

上级 30f6d7bc
...@@ -54,9 +54,9 @@ ctc_grad_norm_type: instance ...@@ -54,9 +54,9 @@ ctc_grad_norm_type: instance
########################################### ###########################################
n_epoch: 80 n_epoch: 80
accum_grad: 1 accum_grad: 1
lr: 2e-3 lr: 2.0e-3
lr_decay: 0.83 lr_decay: 0.83
weight_decay: 1e-06 weight_decay: 1.0e-6
global_grad_clip: 3.0 global_grad_clip: 3.0
log_interval: 100 log_interval: 100
checkpoint: checkpoint:
......
...@@ -56,9 +56,9 @@ blank_id: 0 ...@@ -56,9 +56,9 @@ blank_id: 0
########################################### ###########################################
n_epoch: 65 n_epoch: 65
accum_grad: 1 accum_grad: 1
lr: 5e-4 lr: 5.0e-4
lr_decay: 0.93 lr_decay: 0.93
weight_decay: 1e-06 weight_decay: 1.0e-6
global_grad_clip: 3.0 global_grad_clip: 3.0
log_interval: 100 log_interval: 100
checkpoint: checkpoint:
......
...@@ -55,9 +55,9 @@ blank_id: 0 ...@@ -55,9 +55,9 @@ blank_id: 0
########################################### ###########################################
n_epoch: 50 n_epoch: 50
accum_grad: 1 accum_grad: 1
lr: 1e-3 lr: 1.0e-3
lr_decay: 0.83 lr_decay: 0.83
weight_decay: 1e-06 weight_decay: 1.0e-6
global_grad_clip: 5.0 global_grad_clip: 5.0
log_interval: 100 log_interval: 100
checkpoint: checkpoint:
......
...@@ -57,9 +57,9 @@ blank_id: 0 ...@@ -57,9 +57,9 @@ blank_id: 0
########################################### ###########################################
n_epoch: 50 n_epoch: 50
accum_grad: 4 accum_grad: 4
lr: 1e-3 lr: 1.0e-3
lr_decay: 0.83 lr_decay: 0.83
weight_decay: 1e-06 weight_decay: 1.0e-6
global_grad_clip: 5.0 global_grad_clip: 5.0
log_interval: 100 log_interval: 100
checkpoint: checkpoint:
......
...@@ -55,9 +55,9 @@ blank_id: 0 ...@@ -55,9 +55,9 @@ blank_id: 0
########################################### ###########################################
n_epoch: 5 n_epoch: 5
accum_grad: 1 accum_grad: 1
lr: 1e-5 lr: 1.0e-5
lr_decay: 0.8 lr_decay: 0.8
weight_decay: 1e-06 weight_decay: 1.0e-6
global_grad_clip: 5.0 global_grad_clip: 5.0
log_interval: 1 log_interval: 1
checkpoint: checkpoint:
......
...@@ -57,9 +57,9 @@ blank_id: 0 ...@@ -57,9 +57,9 @@ blank_id: 0
########################################### ###########################################
n_epoch: 5 n_epoch: 5
accum_grad: 1 accum_grad: 1
lr: 1e-5 lr: 1.0e-5
lr_decay: 1.0 lr_decay: 1.0
weight_decay: 1e-06 weight_decay: 1.0e-6
global_grad_clip: 5.0 global_grad_clip: 5.0
log_interval: 1 log_interval: 1
checkpoint: checkpoint:
......
...@@ -96,7 +96,7 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then ...@@ -96,7 +96,7 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
python3 ${MAIN_ROOT}/utils/build_vocab.py \ python3 ${MAIN_ROOT}/utils/build_vocab.py \
--unit_type="char" \ --unit_type="char" \
--count_threshold=0 \ --count_threshold=0 \
--vocab_path="data/vocab.txt" \ --vocab_path="data/lang_char/vocab.txt" \
--manifest_paths "data/manifest.train.raw" --manifest_paths "data/manifest.train.raw"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册