Hi all,

I have been trying to tune a syntax-based model (tree-to-tree) using Moses, and 
have been stuck for a while. The error is shown as follows:

Using SCRIPTS_ROOTDIR: /Users/liushihao/Desktop/smt/mosesdecoder/scripts
filtering the phrase tables... Sat Apr 13 23:36:11 BST 2019
exec: 
/Users/liushihao/Desktop/smt/mosesdecoder/scripts/training/filter-model-given-input.pl
 ./filtered /Users/liushihao/Desktop/smt/working/train/model/moses.ini 
/Users/liushihao/Desktop/smt/corpus/pmb/dev-xml.src
Executing: 
/Users/liushihao/Desktop/smt/mosesdecoder/scripts/training/filter-model-given-input.pl
 ./filtered /Users/liushihao/Desktop/smt/working/train/model/moses.ini 
/Users/liushihao/Desktop/smt/corpus/pmb/dev-xml.src > filterphrases.out 2> 
filterphrases.err
Asking moses for feature names and values from filtered/moses.ini
Executing: /Users/liushihao/Desktop/smt/mosesdecoder/bin/moses_chart  -config 
filtered/moses.ini -inputtype 3 -show-weights
exec: /Users/liushihao/Desktop/smt/mosesdecoder/bin/moses_chart  -config 
filtered/moses.ini -inputtype 3 -show-weights
Executing: /Users/liushihao/Desktop/smt/mosesdecoder/bin/moses_chart  -config 
filtered/moses.ini -inputtype 3 -show-weights > ./features.list 2> /dev/null
sh: line 1: 18976 Abort trap: 6           
/Users/liushihao/Desktop/smt/mosesdecoder/bin/moses_chart -config 
filtered/moses.ini -inputtype 3 -show-weights > ./features.list 2> /dev/null
Exit code: 134
ERROR: Failed to run '/Users/liushihao/Desktop/smt/mosesdecoder/bin/moses_chart 
 -config filtered/moses.ini -inputtype 3 -show-weights'. at 
/Users/liushihao/Desktop/smt/mosesdecoder/scripts/training/mert-moses.pl line 
1775.
[2]-  Exit 2                  nohup nice 
~/Desktop/smt/mosesdecoder/scripts/training/mert-moses.pl 
~/Desktop/smt/corpus/pmb/dev-xml.src ~/Desktop/smt/corpus/pmb/dev-xml.tgt 
~/Desktop/smt/mosesdecoder/bin/moses_chart 
~/Desktop/smt/working/train/model/moses.ini --mertdir 
/Users/liushihao/Desktop/smt/mosesdecoder/bin/ --inputtype 3 --batch-mira 
--return-best-dev --batch-mira-args '-J 100' >&mert.out

The command that I run with the training is:

nohup nice 
/Users/liushihao/Desktop/smt/mosesdecoder/scripts/training/train-model.perl 
--score-options="--GoodTuring --MaxSpan 999" -hierarchical -root-dir train 
-corpus /Users/liushihao/Desktop/drs-parsing -f src -e tgt -alignment 
grow-diag-final-and -lm 0:3:/Users/liushihao/Desktop/smt/lm/en-pmb-gold.blm:8 
-mgiza -mgiza-cpus 2 -cores 4 -parallel -glue-grammar --target-syntax 
--source-syntax -external-bin-dir 
/Users/liushihao/Desktop/smt/mosesdecoder/word_align_tools/ >&training.out

And the moses.ini file is as attached.
Thank you for the help!

Shihao

Attachment: moses.ini
Description: moses.ini

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to