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:
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
```