diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-08-16 20:02:55 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-08-16 20:02:55 +0300 |
commit | 1b2c5cf34dbb5652f901690f4483e3e668bd7cb3 (patch) | |
tree | 200ad73dcb4d4985073593550f3caf528a672cc4 /tests | |
parent | 02a24a28d72b9e9a5cdc7a604114c02d948b4af6 (diff) |
Update tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/decoder/align/test_soft_align.sh | 2 | ||||
-rw-r--r-- | tests/decoder/align/test_soft_align_nbest.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/decoder/align/test_soft_align.sh b/tests/decoder/align/test_soft_align.sh index e116a1a..f41f8a1 100644 --- a/tests/decoder/align/test_soft_align.sh +++ b/tests/decoder/align/test_soft_align.sh @@ -5,7 +5,7 @@ set -e # Test code goes here rm -f soft.out soft.raw.out -$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 5 -b 5 --soft-alignment < text.in > soft.out +$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 5 -b 5 --alignment soft < text.in > soft.out $MRT_TOOLS/diff-floats.py -s , -p 0.0001 soft.out soft.expected > soft.diff # Exit with success code diff --git a/tests/decoder/align/test_soft_align_nbest.sh b/tests/decoder/align/test_soft_align_nbest.sh index e0f0b2b..700df81 100644 --- a/tests/decoder/align/test_soft_align_nbest.sh +++ b/tests/decoder/align/test_soft_align_nbest.sh @@ -5,7 +5,7 @@ set -e # Test code goes here rm -f soft.nbest.out soft.nbest.raw.out -$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 5 -b 3 --n-best --soft-alignment < text.in > soft.nbest.out +$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 5 -b 3 --n-best --alignment soft < text.in > soft.nbest.out $MRT_TOOLS/diff-floats.py -s , -p 0.0001 soft.nbest.out soft.nbest.expected > soft.nbest.diff # Exit with success code |