Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2017-10-14 22:22:40 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2017-10-14 22:22:40 +0300
commit739e764a1f3854f214403c5238b53f5981c27842 (patch)
tree9c1a24b6feea20f9ee4cf11018912628cc583f66 /tests/decoder/wmt17/test_nbest.sh
parent03303c7b7fdfc77a6c0ab3caacda930d49263e7f (diff)
Remove first translations from the WMT17 n-best list test
Diffstat (limited to 'tests/decoder/wmt17/test_nbest.sh')
-rw-r--r--tests/decoder/wmt17/test_nbest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/decoder/wmt17/test_nbest.sh b/tests/decoder/wmt17/test_nbest.sh
index d1c85e2..43f111a 100644
--- a/tests/decoder/wmt17/test_nbest.sh
+++ b/tests/decoder/wmt17/test_nbest.sh
@@ -5,7 +5,7 @@ set -e
# Test code goes here
$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt17_systems/marian.en-de.yml \
- -b 5 --n-best --normalize < text.in > nbest.out
+ -b 5 --n-best --normalize < text.in | tail -n +6 > nbest.out
# Compare n-best lists
$MRT_TOOLS/diff-floats.py -p 0.0002 nbest.out nbest.expected > nbest.diff