hello, the command line for moses-chart mert training is correct.
nohup nice moses-scripts/scripts-20101117-2040/training/mert-moses.pl work/tuning/nc-dev2007.lowercased.fr work/tuning/nc-dev2007.lowercased.en moses/moses/moses-chart-cmd/src/moses_chart work/model/moses.ini --working-dir work/tuning/mertfrenheri --rootdir /home/xiongwei/moses/tools/moses-scripts/scripts-20101117-2040/ --decoder-flags "-v 0" >& work/tuning/mertfrenheri.out & i ignore the error message, note that the parameter [ttable-file] in moses.ini, the path should be absoulte. this is the mistake i make. now the moses-chart mert training is running properly. thanks, xiongwei 在 2011年3月4日 下午1:35,维熊 <[email protected]>写道: > hello, Hieu / Philipp / Raphael Payen, > > thank you very much, your suggestion is really useful. this time i pass > all the training step, also i use the the command CreateOnDiskPt to convert > the rule-table into binary files, the message below is a translation > example without the Minimum-Error-Rate Traning. > > Translating: <s> das ist ein haus </s> ||| [0,0]=X (1) [0,1]=X (1) [0,2]=X > (1) [0,3]=X (1) [0,4]=X (1) [0,5]=X (1) [1,1]=X (1) [1,2]=X (1) [1,3]=X (1) > [1,4]=X (1) [1,5]=X (1) [2,2]=X (1) [2,3]=X (1) [2,4]=X (1) [2,5]=X (1) > [3,3]=X (1) [3,4]=X (1) [3,5]=X (1) [4,4]=X (1) [4,5]=X (1) [5,5]=X (1) > [0..0]= [1..1]= [2..2]= [3..3]= [4..4]= [5..5]= [0..1]= [1..2]= [2..3]= > [3..4]= [4..5]= [0..2]= [1..3]= [2..4]= [3..5]= [0..3]= [1..4]= [2..5]= > [0..4]= [1..5]= [0..5]=Num of hypo = 128 --- cells: > 0 1 2 3 4 5 > 1 1 2 1 1 1 > 1 4 5 1 0 > 3 11 5 0 > 8 11 0 > 10 0 > 1 > BEST TRANSLATION: 109 S </s> :0-0 : pC=0.000, c=-0.886 [0..5] 82 > [total=-108.487] <<-2.606, -100.000, -10.020, -26.505, -25.875, -0.118, > -0.912, 3.000, 4.000>> > the is a haus > End. : [1.000] seconds > Now, I have trouble in how to do the mert training? > > my command is: > > nohup nice moses-scripts/scripts-20101117-2040/training/mert-moses.pl > work/tuning/nc-dev2007.lowercased.frwork/tuning/nc-dev2007.lowercased.en > moses/moses/moses-chart-cmd/src/moses_chart work/model/moses.ini > --working-dir work/tuning/mertherifren > --rootdir > /home/xiongwei/moses/tools/moses-scripts/scripts-20101117-2040/ > --decoder-flags "-v 0" &>work/tuning/mertherifren.out > > this command seems don't work? > > can you give me an example of moses-chart mert training command > > thanks a lot. > > xiongwei > > > 2011/3/3 Raphael Payen <[email protected]> > > Try removing "-reordering msd-bidirectional-fe" in your command line >> >> Raphael >> >> >> On Thu, 2011-03-03 at 17:55 +0800, 维熊 wrote: >> > hello, Hieu / Philipp >> > >> > I am a beginner to the moses project. I have successfully >> > trained a phrase model with 'step by step guide'. but when I train >> > the hierarchical model, it interrupted in the 7th step with the >> > following message: >> > >> > Executing: rm -f work/model/rule-table.half.* >> > Executing: gzip work/model/rule-table >> > (7) learn reordering model @ Thu Mar 3 16:44:49 CST 2011 >> > (7.1) [no factors] learn reordering model @ Thu Mar 3 16:44:49 CST >> > 2011 >> > Executing: LC_ALL=C sort -T work/model work/model/extract.o > >> > work/model/extract.o.sorted >> > sort: open failed: work/model/extract.o: No such file or directory >> > Exit code: 2 >> > ERROR at moses-scripts/scripts-20101117-2040/training/train-model.perl >> > line 1376. >> > >> > >> > training instruction: >> > nohup nice >> > moses-scripts/scripts-20101117-2040/training/train-model.perl >> > -hierarchical -glue-grammar -max-phrase-length 5 >> > -scripts-root-dir moses-scripts/scripts-20101117-2040/ >> > -root-dir work -corpus work/corpus/news-commentary.lowercased -f fr >> > -e en >> > -alignment grow-diag-final-and -reordering msd-bidirectional-fe >> > -lm 0:3:/home/xiongwei/moses/tools/work/lm/news-commentary.lm >& >> > work/trainhier.out & >> > >> > I want to know whether the instruction is wrong? how can i get rid of >> > this problem? >> > >> > thanks, >> > >> > xiongwei >> > >> > _______________________________________________ >> > 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
