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

test_align_beam_1.sh « align « decoder « tests - github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f4869acc9d2d3d238568ee535e386c9b010be546 (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 1 -b 1 --alignment < text.in > align.b1.out
$MRT_TOOLS/diff-nums.py -p 0.0001 align.b1.out align.b1.expected -o align.b1.diff

# Exit with success code
exit 0