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

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

# Exit on error
set -e

# Test code goes here
rm -f soft.out soft.raw.out
$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 5 -b 5 --alignment soft < text.in > soft.out
$MRT_TOOLS/diff-nums.py -s , -p 0.0001 soft.out soft.expected > soft.diff

# Exit with success code
exit 0