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:
authorMarcin Junczys-Dowmunt <Marcin.JunczysDowmunt@microsoft.com>2019-02-21 21:31:11 +0300
committerMarcin Junczys-Dowmunt <Marcin.JunczysDowmunt@microsoft.com>2019-02-21 21:31:11 +0300
commit86613463baf8105102189225b91b56b18e4f76ff (patch)
tree8adfa785683abf092bd11bc064155fc1f2723c92
parent39d200c2a4e112b4d9bd1771841b741af73f2876 (diff)
do not use mini-batch fit here to make comparable to other test
-rw-r--r--tests/training/features/data-weighting/sqlite_word.expected32
-rw-r--r--tests/training/features/data-weighting/test_word_weighting_sqlite.sh2
2 files changed, 18 insertions, 16 deletions
diff --git a/tests/training/features/data-weighting/sqlite_word.expected b/tests/training/features/data-weighting/sqlite_word.expected
index 037b678..060a698 100644
--- a/tests/training/features/data-weighting/sqlite_word.expected
+++ b/tests/training/features/data-weighting/sqlite_word.expected
@@ -1,15 +1,17 @@
-862.09051514
-728.33001709
-630.45318604
-554.12792969
-469.74276733
-387.57510376
-299.93112183
-257.35052490
-828.63208008
-706.60028076
-615.24633789
-537.03155518
-454.32131958
-369.54190063
-274.37387085
+846.69714355
+695.30059814
+594.51928711
+508.72247314
+432.78320312
+357.64947510
+291.84161377
+220.49028015
+331.08535767
+809.13928223
+672.08361816
+577.43341064
+491.42279053
+417.66470337
+344.76025391
+277.97634888
+203.26664734
diff --git a/tests/training/features/data-weighting/test_word_weighting_sqlite.sh b/tests/training/features/data-weighting/test_word_weighting_sqlite.sh
index 229d5a8..1ebb04a 100644
--- a/tests/training/features/data-weighting/test_word_weighting_sqlite.sh
+++ b/tests/training/features/data-weighting/test_word_weighting_sqlite.sh
@@ -12,7 +12,7 @@ cat $MRT_DATA/europarl.de-en/toy.bpe.en | sed -r 's/[^ ]+/2/g' > sqlite_word.wei
$MRT_MARIAN/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 \
+ --log sqlite_word.log --disp-freq 5 -e 2 -w 500 \
--data-weighting sqlite_word.weights.txt --data-weighting-type word --sqlite sqlite_word/corpus.sqlite3
test -e sqlite_word/model.npz