diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-10-15 16:19:57 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-10-15 16:19:57 +0300 |
commit | 7f6d63739280a9dc5c160be7dc9e4f8de2b442fd (patch) | |
tree | 3b6753819ecad563072ddd7ce98a06157338c648 /tests/training/data-weighting/test_word_weighting_with_twos.sh | |
parent | 2102120ddb5a0edf68751716bd8222e70356f3f1 (diff) |
Expand -o to --optimizer
Diffstat (limited to 'tests/training/data-weighting/test_word_weighting_with_twos.sh')
-rw-r--r-- | tests/training/data-weighting/test_word_weighting_with_twos.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/training/data-weighting/test_word_weighting_with_twos.sh b/tests/training/data-weighting/test_word_weighting_with_twos.sh index 0bfcc4c..4706cae 100644 --- a/tests/training/data-weighting/test_word_weighting_with_twos.sh +++ b/tests/training/data-weighting/test_word_weighting_with_twos.sh @@ -10,7 +10,7 @@ mkdir -p word_twos cat $MRT_DATA/europarl.de-en/toy.bpe.en | sed -r 's/[^ ]+/2/g' > word_twos.weights.txt $MRT_MARIAN/build/marian \ - --seed 1111 --no-shuffle --dim-emb 128 --dim-rnn 256 -o sgd \ + --seed 1111 --no-shuffle --dim-emb 128 --dim-rnn 256 --optimizer sgd \ -m word_twos/model.npz -t $MRT_DATA/europarl.de-en/toy.bpe.{de,en} -v vocab.{de,en}.yml \ --log word_twos.log --disp-freq 5 -e 2 \ --data-weighting word_twos.weights.txt --data-weighting-type word @@ -28,7 +28,7 @@ echo "data-weighting: word_twos.weights.txt" > word_twos.config.yml echo "data-weighting-type: word" >> word_twos.config.yml $MRT_MARIAN/build/marian \ - --seed 1111 --no-shuffle --dim-emb 128 --dim-rnn 256 -o sgd \ + --seed 1111 --no-shuffle --dim-emb 128 --dim-rnn 256 --optimizer sgd \ -m word_twos_cfg/model.npz -t $MRT_DATA/europarl.de-en/toy.bpe.{de,en} -v vocab.{de,en}.yml \ --log word_twos_cfg.log --disp-freq 5 -e 2 \ -c word_twos.config.yml |