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>2018-11-28 19:58:01 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2018-11-28 19:58:01 +0300
commit8b50eb0ae106bee2fa58a8005c1819c85d00bda3 (patch)
tree6420b72307cc6fd44b321cd5676dbbf2073ca2e1 /tests/training/data-weighting/test_word_weighting_sqlite.sh
parent9cc169495729ce9d25ffae7492f08fd6d8619915 (diff)
Organize tests
Diffstat (limited to 'tests/training/data-weighting/test_word_weighting_sqlite.sh')
-rw-r--r--tests/training/data-weighting/test_word_weighting_sqlite.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/training/data-weighting/test_word_weighting_sqlite.sh b/tests/training/data-weighting/test_word_weighting_sqlite.sh
deleted file mode 100644
index bb2452b..0000000
--- a/tests/training/data-weighting/test_word_weighting_sqlite.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-# Exit on error
-set -e
-
-# Test code goes here
-rm -rf sqlite_word sqlite_word.{log,out,diff}
-mkdir -p sqlite_word
-
-cat $MRT_DATA/europarl.de-en/toy.bpe.en | sed -r 's/[^ ]+/2/g' > sqlite_word.weights.txt
-
-$MRT_MARIAN/build/marian \
- --seed 1111 --no-shuffle --dim-emb 128 --dim-rnn 256 --optimizer sgd \
- -m sqlite_word/model.npz -t $MRT_DATA/europarl.de-en/toy.bpe.{de,en} -v vocab.{de,en}.yml \
- --log sqlite_word.log --disp-freq 5 -e 2 --mini-batch-fit -w 500 \
- --data-weighting sqlite_word.weights.txt --data-weighting-type word --sqlite sqlite_word/corpus.sqlite3
-
-test -e sqlite_word/model.npz
-test -e sqlite_word/corpus.sqlite3
-test -e sqlite_word.log
-
-cat sqlite_word.log | $MRT_TOOLS/extract-costs.sh > sqlite_word.out
-$MRT_TOOLS/diff-nums.py sqlite_word.out sqlite_word.expected -p 0.1 -o sqlite_word.diff
-
-# Exit with success code
-exit 0