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
path: root/tests
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rgrundkiewicz@gmail.com>2020-11-10 12:35:24 +0300
committerRoman Grundkiewicz <rgrundkiewicz@gmail.com>2020-11-10 12:35:24 +0300
commit844a4eb101002eba2d48c6e8ef60525a62eeeee1 (patch)
treef32f70720d972698fd69433c0e597eb1874fc6a1 /tests
parentab06646770417f4481b2afe63cf723fe6a937f13 (diff)
Remove trailing whitespaces
Diffstat (limited to 'tests')
-rw-r--r--tests/training/features/quantized-model/test_quantmodel.sh4
-rw-r--r--tests/training/features/quantized-model/test_quantmodel_with_bias.sh2
-rw-r--r--tests/training/features/quantized-model/test_quantmodel_with_optimization.sh4
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/training/features/quantized-model/test_quantmodel.sh b/tests/training/features/quantized-model/test_quantmodel.sh
index 9bf6a34..b31a1d5 100644
--- a/tests/training/features/quantized-model/test_quantmodel.sh
+++ b/tests/training/features/quantized-model/test_quantmodel.sh
@@ -14,7 +14,7 @@ PREFIX=quantized
rm -rf $PREFIX $PREFIX.{log,out,diff}
mkdir -p $PREFIX train
-# Train an 8-bits model
+# Train an 8-bits model
$MRT_MARIAN/marian \
--no-shuffle --seed 1111 --dim-emb 32 --dim-rnn 64 --mini-batch 32 --maxi-batch 1 --maxi-batch-sort none --learn-rate 0.1 --optimizer sgd \
-m $PREFIX/model.npz -t $MRT_DATA/europarl.de-en/corpus.bpe.{en,de} -v train/vocab.en.yml train/vocab.de.yml \
@@ -27,7 +27,7 @@ test -e $PREFIX.log
# Compare the current output with the expected output
cat $PREFIX.log | $MRT_TOOLS/extract-costs.sh > $PREFIX.out
-$MRT_TOOLS/diff-nums.py $PREFIX.out $PREFIX.expected -o $PREFIX.diff
+$MRT_TOOLS/diff-nums.py $PREFIX.out $PREFIX.expected -o $PREFIX.diff
# make sure that the resulting model has no more than 256 different values (i.e. quantized)
$MRT_TOOLS/check-model-unique-vals.py $PREFIX/model.npz -b 8
diff --git a/tests/training/features/quantized-model/test_quantmodel_with_bias.sh b/tests/training/features/quantized-model/test_quantmodel_with_bias.sh
index fa02213..96380c3 100644
--- a/tests/training/features/quantized-model/test_quantmodel_with_bias.sh
+++ b/tests/training/features/quantized-model/test_quantmodel_with_bias.sh
@@ -21,7 +21,7 @@ $MRT_MARIAN/marian \
--cost-type cross-entropy --sync-sgd --after-batches 20 --disp-freq 10 \
--log $PREFIX.log
-# Train an 8-bits model
+# Train an 8-bits model
$MRT_MARIAN/marian \
--no-shuffle --seed 1111 --dim-emb 32 --dim-rnn 64 --mini-batch 32 --maxi-batch 1 --maxi-batch-sort none --learn-rate 0.1 --optimizer sgd \
-m $PREFIX/model.npz -t $MRT_DATA/europarl.de-en/corpus.bpe.{en,de} -v train/vocab.en.yml train/vocab.de.yml \
diff --git a/tests/training/features/quantized-model/test_quantmodel_with_optimization.sh b/tests/training/features/quantized-model/test_quantmodel_with_optimization.sh
index 200a636..b4a8dbf 100644
--- a/tests/training/features/quantized-model/test_quantmodel_with_optimization.sh
+++ b/tests/training/features/quantized-model/test_quantmodel_with_optimization.sh
@@ -14,7 +14,7 @@ PREFIX=quantized-opt
rm -rf $PREFIX $PREFIX.{log,out,diff}
mkdir -p $PREFIX train
-# Train an 8-bits model
+# Train an 8-bits model
$MRT_MARIAN/marian \
--no-shuffle --seed 1111 --dim-emb 32 --dim-rnn 64 --mini-batch 32 --maxi-batch 1 --maxi-batch-sort none --learn-rate 0.1 --optimizer sgd \
-m $PREFIX/model.npz -t $MRT_DATA/europarl.de-en/corpus.bpe.{en,de} -v train/vocab.en.yml train/vocab.de.yml \
@@ -27,7 +27,7 @@ test -e $PREFIX.log
# Compare the current output with the expected output
cat $PREFIX.log | $MRT_TOOLS/extract-costs.sh > $PREFIX.out
-$MRT_TOOLS/diff-nums.py $PREFIX.out $PREFIX.expected -o $PREFIX.diff
+$MRT_TOOLS/diff-nums.py $PREFIX.out $PREFIX.expected -o $PREFIX.diff
# make sure that the resulting model has no more than 256 different values (i.e. quantized)
$MRT_TOOLS/check-model-unique-vals.py $PREFIX/model.npz -b 8