diff options
Diffstat (limited to 'tests/training/features/quantized-model/test_quantmodel.sh')
-rw-r--r-- | tests/training/features/quantized-model/test_quantmodel.sh | 4 |
1 files changed, 2 insertions, 2 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 |