diff options
Diffstat (limited to 'tests/training/features/custom-embeddings/setup.sh')
-rw-r--r-- | tests/training/features/custom-embeddings/setup.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/training/features/custom-embeddings/setup.sh b/tests/training/features/custom-embeddings/setup.sh new file mode 100644 index 0000000..f285aad --- /dev/null +++ b/tests/training/features/custom-embeddings/setup.sh @@ -0,0 +1,7 @@ +test -f $MRT_DATA/europarl.de-en/corpus.bpe.en || exit 1 +test -f $MRT_DATA/europarl.de-en/corpus.bpe.de || exit 1 + +test -e vocab.de.yml || $MRT_MARIAN/marian-vocab < $MRT_DATA/europarl.de-en/corpus.bpe.de > vocab.de.yml +test -e vocab.en.yml || $MRT_MARIAN/marian-vocab < $MRT_DATA/europarl.de-en/corpus.bpe.en > vocab.en.yml +test -e vocab.de.yml +test -e vocab.en.yml |