blob: 63db969b0f0e14546d90cee617c16b8a01d8ece0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
# Exit on error
set -e
rm -rf dump_relpaths.yml
# Run with no config file
$MRT_MARIAN/build/marian-decoder -c relpaths.yml --mini-batch 8 --dump-config > dump_relpaths.yml
test -e dump_relpaths.yml
grep -q "type: amun" dump_relpaths.yml
grep -q "mini-batch: 8" dump_relpaths.yml
grep -q "dim-emb: 500" dump_relpaths.yml
grep -q " - .*wmt16_systems/en-de" dump_relpaths.yml
# Exit with success code
exit 0
|