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

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

# Exit on error
set -e

# Run scorer
$MRT_MARIAN/build/marian-scorer -c $MRT_MODELS/wmt16_systems/marian.en-de.scorer.yml \
  -t $(pwd)/scores.src.in $(pwd)/scores.trg.in --summary > summary.out

# Compare scores
$MRT_TOOLS/diff-nums.py summary.out summary.expected -p 0.0003 -o summary.diff

# Exit with success code
exit 0