Send Moses-support mailing list submissions to
moses-support@mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu
You can reach the person managing the list at
moses-support-owner@mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."
Today's Topics:
1. Syntax-based model tuning error (liu shihao)
----------------------------------------------------------------------
Message: 1
Date: Sat, 13 Apr 2019 22:51:20 +0000
From: liu shihao <liushihao1996@hotmail.com>
Subject: [Moses-support] Syntax-based model tuning error
To: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<BYAPR08MB5045BCAAD9D5905DE21E0350AC290@BYAPR08MB5045.namprd08.prod.outlook.com>
Content-Type: text/plain; charset="gb2312"
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20190413/e502296b/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moses.ini
Type: application/octet-stream
Size: 1167 bytes
Desc: moses.ini
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20190413/e502296b/attachment-0001.obj
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 150, Issue 5
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 150, Issue 5"
Post a Comment