Hi Hieu, Command below (I hope this is it ;).
Regards, Tomek moses@SKR-moses:~/working/experiments/FACTORED/steps/1$ more TRAINING_build-ttable.1 #!/bin/bash [...] /home/moses/src/mosesdecoder/scripts/training/train-model.perl -mgiza -mgiza-cpus 8 -cores 8 -parallel -sort-buffer-size 10G -sort-batch-size 253 -sort-compre ss gzip -sort-parallel 10 -dont-zip -first-step 6 -last-step 6 -external-bin-dir /home/moses/src/mosesdecoder/tools -f en -e pl -alignment grow-diag-final-and -max-phrase-length 5 -parts 5 -reordering msd-bidirectional-fe -score-options '--GoodTuring --MinScore 2:0.0001' -parallel -input-factor-max 0 -alignment-fac tors 0-0 -translation-factors 0-0,1 -reordering-factors 0-0 -decoding-steps t0 -extract-file /home/moses/working/experiments/FACTORED/model/extract.1 -lexical -file /home/moses/working/experiments/FACTORED/model/lex.1 -phrase-translation-table /home/moses/working/experiments/FACTORED/model/phrase-table.1.0-0,1 moses@SKR-moses:~/working/experiments/FACTORED/steps/1$ more TRAINING_binarize-config.1 #!/bin/bash [...] mkdir -p /home/moses/working/experiments/FACTORED/model /home/moses/src/mosesdecoder/scripts/training/binarize-model.perl /home/moses/working/experiments/FACTORED/model/moses.ini.1 /home/moses/working/experiments/FACTORED/model/moses.bin.ini.1 -B inarizer "/home/moses/src/mosesdecoder/bin/CreateOnDiskPt 1 1 4 100 2" -------------- whats the exact command you used to binarize the phrase-table? On 11/10/2015 17:00, Tomasz Gawryl wrote: > > Hi, > > My factored training ends core dumped during tuning step.: > > /home/moses/working/experiments/FACTORED/lm/ACROSS=pos.lm.1: line 11: > warning: n > > on-zero probability for <unk> in closed-vocabulary LM > > terminate called after throwing an instance of 'util::Exception' > > what(): > moses/TranslationModel/RuleTable/PhraseDictionaryOnDisk.cpp:100 in vi > > rtual void Moses::PhraseDictionaryOnDisk::InitializeForInput(const > ttasksptr&) t > > hrew util::Exception because `obj->GetMisc("NumTargetFactors") != > m_output.size( > > )'. > > On-disk phrase table has 1 target factors.. The ini file specified 2 > target factors > > Aborted (core dumped) > > Exit code: 134 > > My config file is similar to example config file for factored trainings. > > What should I do to fix it? > > Regards > > ** > > *Tomek * > _______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support