Hi everybody
I'm trying to tune hiero model in moses with this command:

nohup nice ~/mosesdecoderCode/scripts/training/mert-moses.pl   
~/datasets/m-tune.en ~/datasets/m-tune.fa \
~/mosesdecoderCode/bin/moses_chart --decoder-flags="-threads all" 
train/model/moses.ini --no-filter-phrase-table --mertdir 
~/mosesdecoderCode/bin/ --nbest=100 > mert.out

I use --no-filter-phrase-table option because I have a binary rule table which 
is made by this command:/home/mosesdecoderCode/bin/CreateOnDiskPt 1 1 5 20 2 
train/model/rule-table.gz train/model/rule-table-binary
(the binary rule table was made without  any error and its size is 7G )

and I updated my moses.ini file with my binary rule 
table:PhraseDictionaryMemory name=TranslationModel0 num-features=4 
path=/home/experiments/16dec/train/model/rule-table-binary input-factor=0 
output-factor=0


the tuning step raise this error up:
Exception: util/file.cc:152 in std::size_t util::PartialRead(int, void*, 
std::size_t) threw FDException because `ret < 0'.
Is a directory in /home/akazemi/experiments/16dec/train/model/rule-table-binary 
while reading 6 bytes in file 
/home/akazemi/experiments/16dec/train/model/rule-table-binary
Exit code: 1
The decoder died. CONFIG WAS -weight-overwrite 'PhrasePenalty0= 0.057143 
WordPenalty0= -0.285714 TranslationModel0= 0.057143 0.057143 0.057143 0.057143 
TranslationModel1= 0.285714 LM0= 0.142857'

is there anything wrong with this commands?
Thanks a lot!
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to