Hi,

re-run just the phrase-extraction step, and check for error messages.

You can do this with adding "-first-step 5 -last-step 5" to your
train-model.perl
command.

-phi

On Tue, May 15, 2012 at 8:58 PM, 亮 田 <[email protected]> wrote:
> Dear Hongbin,
> There is no "extract.o.gz" in your result, so there is maybe something wrong
> with your training process. This is my genereated files in the model file:
> tianliang@tianliang-VirtualBox:~/research/mosesdecoder/scripts/training/model$
> ls -l
> total 174336
> -rw-rw-r-- 1 tianliang tianliang  4112456 Mar 27 17:32
> aligned.grow-diag-final-and
> -rw-rw-r-- 1 tianliang tianliang 16244113 Mar 27 17:32 extract.gz
> -rw-rw-r-- 1 tianliang tianliang 16117476 Mar 27 17:32 extract.inv.gz
> -rw-rw-r-- 1 tianliang tianliang 12673603 Mar 27 17:32 extract.o.gz (you
> don't have this)
> -rw-rw-r-- 1 tianliang tianliang       12 Mar 27 19:52 input~
> -rw-rw-r-- 1 tianliang tianliang  9021486 Mar 27 17:32 lex.e2f
> -rw-rw-r-- 1 tianliang tianliang  9021486 Mar 27 17:32 lex.f2e
> -rwxrwxr-x 1 tianliang tianliang 36406965 Mar 27 17:14 moses
> -rw-rw-r-- 1 tianliang tianliang     1346 Mar 27 17:34 moses.ini
> -rwxrwxr-x 1 tianliang tianliang 33185408 Mar 27 17:14 mosesserver
> -rw-rw-r-- 1 tianliang tianliang 27734923 Mar 27 17:33 phrase-table.gz
> -rw-rw-r-- 1 tianliang tianliang 13973918 Mar 27 17:34
> reordering-table.wbe-msd-bidirectional-fe.gz
> Try to train the model again: first you can export the scripts path in your
> default Moses: export SCRIPTS_ROOTDIR=/home/yourhostname/~/moses-smt/scripts
> And then, you should try the following command:
> /train-model.perl --scripts-root-dir $SCRIPTS_ROOTDIR --corpus
> ~/corpus/corpus-clean   --f ch --e en --alignment grow-diag-final-and
> -reordering msd-bidirectional-fe --lm 0:3: $HOME/lm/corpus.blm.en:0
>
> ------------------------------------------------------------------------------------------------------------------------------------
> Name: Liang Tian (田亮)
> Lab: Natural Language Processing& Portuguese Chinese Machine Translation
> Laboratory
>           (澳门大学中葡机器翻译实验室NLP2CT)
> Email: [email protected]
> Phone: (853)62059782
>               (+86)18676421801
> ------------------------------------------------------------------------------------------------------------------------------------
>
> 发件人: 马洪宾 <[email protected]>
> 收件人: [email protected]
> 发送日期: 2012年5月16日, 星期三, 上午 11:27
> 主题: [Moses-support] UPDATED: moses training error
>
>
> Hi,
>
> I'm trying out a chinese-english baseline system using the latest moses.
> I'm running it on a Ubuntu server 64bit.
> Although I followed strictly to the tutorial
> http://www.statmt.org/moses/?n=Moses.Baseline, when I'm proceding the phrase
> " training the translation system", I get the info
> "ERROR: train/model/extract.o.sorted.gz does not exist in
> ~/working/train/model" and the program exit with exit code 2.
>
> However, I do find that there's a file named extract.sorted.gz in
> ~/working/train/model.(slightly different, not o.sorted.gz, but sorted.gz)
> $ls -l :
> -rw-rw-r-- 1 hongbin hongbin 30674272 May 15 16:08
> aligned.grow-diag-final-and
> -rw-rw-r-- 1 hongbin hongbin       20 May 15 16:10 extract.inv.sorted.gz
> -rw-rw-r-- 1 hongbin hongbin       20 May 15 16:10 extract.sorted.gz(but the
> size seems to be too small)
> -rw-rw-r-- 1 hongbin hongbin 61246318 May 15 16:10 lex.e2f
> -rw-rw-r-- 1 hongbin hongbin 61246318 May 15 16:10 lex.f2e
> -rw-rw-r-- 1 hongbin hongbin        2 May 15 16:10 phrase-table.gz
>
> Could you please give me any clew to fix this?
>
> PS,
> I'm running this step by:
> nohup nice ~/mosesdecoder/dist/training/train-model.perl  -root-dir train
> -corpus ~/corpus/corpus-clean  -f ch -e en -alignment grow-diag-final-and
> -reordering msd-bidirectional-fe -lm 0:3:$HOME/lm/corpus.blm.en:8 >&
> training.out &
> (Any problem with this command?)
>
> Thanks!
> Hongbin
>
>
>
> --
> Hongbin MA(马洪宾)
> Department of Computer Science and Engineering,
> Shanghai Jiao Tong University.
> Mobile: (86)188-1755-4825
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
> --
> Hongbin MA(马洪宾)
> Department of Computer Science and Engineering,
> Shanghai Jiao Tong University.
> Mobile: (86)188-1755-4825
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to