diff options
Diffstat (limited to 'tests/training/restoring/corpus/test_finetune.sh')
-rw-r--r-- | tests/training/restoring/corpus/test_finetune.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/training/restoring/corpus/test_finetune.sh b/tests/training/restoring/corpus/test_finetune.sh index c3ff761..1e99645 100644 --- a/tests/training/restoring/corpus/test_finetune.sh +++ b/tests/training/restoring/corpus/test_finetune.sh @@ -3,7 +3,7 @@ ##################################################################### # SUMMARY: Fine-tuning on another data with --no-restore-corpus # AUTHOR: snukky -# TAGS: finetune restore +# TAGS: finetune restore gcc5-fails ##################################################################### # Exit on error @@ -17,6 +17,8 @@ test -e vocab.de.yml test -e vocab.en.yml extra_opts="--seed 2222 --maxi-batch 1 --maxi-batch-sort none --mini-batch 64 --optimizer sgd --dim-emb 128 --dim-rnn 256 --disp-freq 4" +# Added because default options has changes +extra_opts="$extra_opts --cost-type ce-mean --disp-label-counts false" # Train a model on a training corpus @@ -32,7 +34,7 @@ test -e finetune/model.npz.progress.yml cat finetune_1.log | $MRT_TOOLS/strip-timestamps.sh | grep "Ep\. " | sed 's/ : Time.*//' > finetune.out -# Restart the training on another training corpus without --no-restore-corpus +# Restart the training on another training corpus with --no-restore-corpus $MRT_MARIAN/marian \ -m finetune/model.npz -t $MRT_DATA/train.max50.{en,de} -v vocab.en.yml vocab.de.yml \ --after-batches 60 $extra_opts --log finetune_2.log \ |