diff options
author | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2017-03-24 22:34:09 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2017-03-24 22:34:09 +0300 |
commit | e78c5dde25184af7bcbe1dc7f99315840b538dc0 (patch) | |
tree | deb115a5362e759951142303169845ce342ef094 /examples/training/run-me.sh | |
parent | d0d7010e87f765032857fde71cd1e970f35c01db (diff) |
changed scripts
Diffstat (limited to 'examples/training/run-me.sh')
-rwxr-xr-x | examples/training/run-me.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/training/run-me.sh b/examples/training/run-me.sh index 9665a914..b64f4b9e 100755 --- a/examples/training/run-me.sh +++ b/examples/training/run-me.sh @@ -56,8 +56,9 @@ fi if [ ! -e "data/newstest2016.bpe.ro.output.postprocessed.dev" ] then - cat data/newstest2016.bpe.ro | ../../build/amun -c model/model.npz.amun.yml -b 12 -n --mini-batch 100 --maxi-batch 1000 \ - | sed 's/\@\@ //g' | mosesdecoder/scripts/recaser/detruecase.perl > data/newstest2016.bpe.ro.output.postprocessed.dev + cat data/newstest2016.bpe.ro \ + | ../../build/amun -c model/model.npz.amun.yml -b 12 -n --mini-batch 100 --maxi-batch 1000 \ + | sed 's/\@\@ //g' | mosesdecoder/scripts/recaser/detruecase.perl > data/newstest2016.bpe.ro.output.postprocessed fi -./mosesdecoder/scripts/generic/multi-bleu.perl data/newtest2016.en < data/newtest2016.bpe.ro.output.postprocessed.dev +./mosesdecoder/scripts/generic/multi-bleu.perl data/newtest2016.en < data/newtest2016.bpe.ro.output.postprocessed |