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

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2017-03-24 22:33:27 +0300
committerGitHub <noreply@github.com>2017-03-24 22:33:27 +0300
commit8713979452d236f52f4bcf9e0ecba083f87f76a1 (patch)
tree6b2dd24f6fef8b11aa2f37c7bf59d34b0365b114 /examples/training/README.md
parent41c9445fe4928b5f6b8521cc6408e748b608be96 (diff)
Update README.md
Diffstat (limited to 'examples/training/README.md')
-rw-r--r--examples/training/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/training/README.md b/examples/training/README.md
index 904b6917..7c321128 100644
--- a/examples/training/README.md
+++ b/examples/training/README.md
@@ -51,11 +51,12 @@ ref=data/newsdev2016.tok.en
# decode
-cat $dev | ../../build/amun -c $prefix.dev.npz.amun.yml -b 12 -n --mini-batch 10 --maxi-batch 100 2>/d
+cat $dev | ../../build/amun -c $prefix.dev.npz.amun.yml --mini-batch 10 --maxi-batch 100 2>/dev/null \
| sed 's/\@\@ //g' | mosesdecoder/scripts/recaser/detruecase.perl > $dev.output.postprocessed
## get BLEU
-BLEU=`./mosesdecoder/scripts/generic/multi-bleu.perl $ref < $dev.output.postprocessed | cut -f 3 -d '
+BLEU=`./mosesdecoder/scripts/generic/multi-bleu.perl $ref < $dev.output.postprocessed \
+| cut -f 3 -d ' ' | cut -f 1 -d ','`
echo $BLEU
```