Hi, I once tried to use GIZA with the IBM1 model in the described manner (... --giza-option m1=5,m2=0,mh=0,m3=0,m4=0 ...), and the training stopped after the following error message:
ERROR: Giza did not produce the output file ibm1/giza.est-eng/est-eng.A3.final. Is your corpus clean (reasonably-sized sentences)? at /home/smt/tools/moses/scripts/training/train-factored-phrase-model.perl line 734. After that I tried running GIZA separately from the training script, and it appears that it doesn't generate any output file -- is there a way of telling GIZA to not only stop after the IBM1 model iterations but actually save the model? Thanks in advance, Mark > > Model 6 is described in this journal article. > http://aclweb.org/anthology-new/J/J03/J03-1002.pdf > > It also explanains of some of the other parameters and reasonable > sequences of model iterations. > > Adam > > 2009/12/11 李贤华 <[email protected]>: >> hi all, >> >> About Giza++ options, I found this on moses website: >> -------------------------------------------------------------------------------------------------- >> >> GIZA++ Options >> >> GIZA++ takes a lot of parameters to specify the behavior of the training >> process and limits on sentence length, etc. Please refer to the >> corresponding documentation for details on this. >> >> Parameters can be passed on to GIZA++ with the switch --giza-option. >> >> For instance, if you want to the change the number of iterations for the >> different IBM Models to 4 iterations of Model 1, 0 iterations of Model 2, 4 >> iterations of the HMM Model, 0 iterations of Model 3, and 3 iterations of >> Model 4, you can specify this by >> >> train-phrase-model.perl [...] --giza-option m1=4,m2=0,mh=4,m3=0,m4=3 >> ------------------------------------------------------------------------------------------------- >> >> so, if I want to use IBM model 1, I can just set parameters like this: >> >> train-phrase-model.perl [...] --giza-option m1=5,m2=0,mh=0,m3=0,m4=0 >> >> and if I want to use IBM model 3, >> >> train-phrase-model.perl [...] --giza-option m1=5,m2=5,mh=5,m3=3,m4=0 >> >> Is that right? >> >> I print logs and I find there're also model5 and model6, so I got confused. >> >> I need your help. >> >> >> >> >> >> 2009-12-11 >> ________________________________ >> Best regards, >> >> Lee Xianhua >> >> _______________________________________________ >> 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
