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

test_translation_batched.sh « transformer « models « tests - github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1da9fda9fcf631b8007a2ab20970aa8837cd5280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# Exit on error
set -e

rm -f batched.out

# Run Marian
$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/transformer/decode.yml -b 6 --mini-batch 32 < text.in > batched.out

$MRT_TOOLS/diff.sh batched.out text.b6.expected > batched.diff

# Exit with success code
exit 0