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:
Diffstat (limited to 'tests/sentencepiece/test_create_spm_vocabs.sh')
-rw-r--r--tests/sentencepiece/test_create_spm_vocabs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sentencepiece/test_create_spm_vocabs.sh b/tests/sentencepiece/test_create_spm_vocabs.sh
index 2781964..61e2c04 100644
--- a/tests/sentencepiece/test_create_spm_vocabs.sh
+++ b/tests/sentencepiece/test_create_spm_vocabs.sh
@@ -35,7 +35,7 @@ grep -q "Loading SentencePiece vocabulary .*vocab.en.spm" vocabs.log
grep -q "Loading SentencePiece vocabulary .*vocab.de.spm" vocabs.log
# Extract a textual vocabulary and compare with the expected output
-LC_ALL=C $MRT_MARIAN/spm_export_vocab --model vocabs/vocab.en.spm | head -n 3980 | sort > vocabs.en.out
+LC_ALL=C $MRT_MARIAN/spm_export_vocab --model vocabs/vocab.en.spm | sort > vocabs.en.out
LC_ALL=C $MRT_MARIAN/spm_export_vocab --model vocabs/vocab.de.spm | sort > vocabs.de.out
$MRT_TOOLS/diff-nums.py vocabs.en.out vocabs.en.expected -o vocabs.en.diff