diff options
Diffstat (limited to 'tests/decoder/align/test_align_nbest.sh')
-rw-r--r-- | tests/decoder/align/test_align_nbest.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/decoder/align/test_align_nbest.sh b/tests/decoder/align/test_align_nbest.sh new file mode 100644 index 0000000..ae228f4 --- /dev/null +++ b/tests/decoder/align/test_align_nbest.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Exit on error +set -e + +# Test code goes here +$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 16 -b 3 --n-best --alignment < text.in > align_nbest.out +diff align_nbest.out align_nbest.expected > align_nbest.diff + +# Exit with success code +exit 0 |