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

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

# Exit on error
set -e

# Test code goes here
$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 16 -b 3 --n-best --alignment < text.in > align_nbest.out
$MRT_TOOLS/diff-floats.py -p 0.0001 align_nbest.out align_nbest.expected > align_nbest.diff

# Exit with success code
exit 0