Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test_translation_b6n_batch32.sh « wmt17-ende « models « tests - github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 49ae6af62c69ce16471c3bab2ef3d2a34fe83469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

# Exit on error
set -e

#cp marian.batch32.out marian.batch32.out.$$ || true
rm -f marian.batch32.out

# Run Marian
$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt17_systems/marian.en-de.yml -b 6 -n 1.0 \
    --mini-batch 32 --maxi-batch 10 --maxi-batch-sort src -w 2500 \
    < text.b6n.in > marian.batch32.out

# Compare with Marian and Nematus
$MRT_TOOLS/diff.sh marian.batch32.out marian.b6n.expected > marian.batch32.diff
$MRT_TOOLS/diff.sh marian.batch32.out nematus.b6n.out > nematus.batch32.diff

# Exit with success code
exit 0