Hi, the misplacement of the reordering model file is fixed in the latest version of the scripts. Please update. To fix the model you have just trained, move the reordering model file into the model directory and fix the reference in model/moses.ini so that it points to the file.
-phi On Wed, Oct 29, 2008 at 2:43 AM, jun li <[EMAIL PROTECTED]> wrote: > Hi, > I followed the instructions on wmt07 ( > http://www.statmt.org/wmt07/baseline.html ) and build a system. > At the Train Model step, the script is as follow: > • Run training script: > bin/moses-scripts/scripts-YYYYMMDD-HHMM/training/train-factored-phrase-model.perl > -scripts-root-dir bin/moses-scripts/scripts-YYYYMMDD-HHMM -root-dir > working-dir -corpus working-dir/corpus/europarl.lowercased -f fr -e en > -alignment grow-diag-final-and -reordering msd-bidirectional-fe -lm > 0:5:working-dir/lm/europarl.lm:0 > > After that I got a file named: > reordering-table.msd-bidirectional-fe.0.5.gz at current directory ( > where I run the script above) > And the working-dir/model/moses.ini got a key-value as follow in the > distortion (reordering) files section, > [distortion-file] > 0-0 msd-bidirectional-fe 6 > /global/home/lj/moses/working-dir/model/msd-table.0-0.bi.fe.0.5.gz > > So the next step Tuning got a error message: > Using SCRIPTS_ROOTDIR: bin/moses-scripts/scripts-YYYYMMDD-HHMM > moses.ini:31:File does not exist or empty: > /global/home/lj/moses/working-dir/model/msd-table.0-0.bi.fe.0.5.gz > SYNC distortionchecking weight-count for ttable-file > > Do you have any suggestions? > How should I change the parameters of train-factored-phrase-model.perl ? > > > > Thanks, > > Best wishes, > > -- > Li Jun > > _______________________________________________ > 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
