Arezoo Arjomand
2018-08-23 08:02:18 UTC
Hi,
I installed successfully moses decoder on server. I run syntax grammer extraction as follow :
Â
/home/vps/mosesdecoder/scripts/training/train-model.perl \
-root-dir train \
-corpus /home/vps/emlla//ttt/news-commentary-v8.fr-en.clean \
-f fr -e en -alignment grow-diag-final-and -hierarchical    -glue-grammar       \ -lm 0:3:/home/vps/emlla//ttt/news-commentary-v8.fr-en.blm.en \
-mgiza -mgiza-cpus 4Â \
-external-bin-dir  /homevps/mosesdecoder/tools >&training2.out
Â
the file which created is :
Â
train â corpus , giza.en-fr, giza.fr-en, model
model â aligned.grow-diag-final-and, extract.sorted.gz, lex.e2f, moses.ini, extract.inv.sorted.gz,       glue-grammar, lex.f2e rule-table.gz
Â
to tune the model the following command is run:
Â
/home/vps/mosesdecoder/scripts/training/mert-moses.pl /home/vps/emlla/nc-dev2007.en.true.fr /home/vps/emlla/nc-dev2007.en.true.en /home/vps/mosesdecoder/bin/moses2 /home/vps/emlla/train/model/moses.ini --rootdir /home/vps/mosesdecoder/scripts --decoder-flags "-v 0" --no-filter-phrase-table --inputtype 3    --batch-mira --return-best-dev --filtercmd '/home/vps/mosesdecoder/scripts/training/filter-model-given-input.pl -Binarizer "CreateOnDiskPt 1 1 5 100 2" ' --batch-mira-args '-J 300' --decoder-flags '-threads 8 -v 0' 1>&mert.out                                   Â
but it dies in following step: Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Finished loading LM0
Loading UnknownWordPenalty0
Finished loading UnknownWordPenalty0
Loading TranslationModel0
Finished loading TranslationModel0
Loading TranslationModel1
Finished loading TranslationModel1
START LoadMappings()
END LoadMappings()
END LoadDecodeGraphBackoff()
Loaded : [0.0490292] seconds
RUN BATCH
terminate called after throwing an instance of 'util::Exception'
 what(): moses2/SCFG/nbest/KBestExtractor.cpp:42 in void Moses2::SCFG::KBestE$
Only suppose to be 1 hypo coll in last stack
Aborted (core dumped)
Exit code: 134
The decoder died. CONFIG WAS -weight-overwrite 'TranslationModel1= 0.285714 Phr$
how can I fix it?
Thank you for your attention
I installed successfully moses decoder on server. I run syntax grammer extraction as follow :
Â
/home/vps/mosesdecoder/scripts/training/train-model.perl \
-root-dir train \
-corpus /home/vps/emlla//ttt/news-commentary-v8.fr-en.clean \
-f fr -e en -alignment grow-diag-final-and -hierarchical    -glue-grammar       \ -lm 0:3:/home/vps/emlla//ttt/news-commentary-v8.fr-en.blm.en \
-mgiza -mgiza-cpus 4Â \
-external-bin-dir  /homevps/mosesdecoder/tools >&training2.out
Â
the file which created is :
Â
train â corpus , giza.en-fr, giza.fr-en, model
model â aligned.grow-diag-final-and, extract.sorted.gz, lex.e2f, moses.ini, extract.inv.sorted.gz,       glue-grammar, lex.f2e rule-table.gz
Â
to tune the model the following command is run:
Â
/home/vps/mosesdecoder/scripts/training/mert-moses.pl /home/vps/emlla/nc-dev2007.en.true.fr /home/vps/emlla/nc-dev2007.en.true.en /home/vps/mosesdecoder/bin/moses2 /home/vps/emlla/train/model/moses.ini --rootdir /home/vps/mosesdecoder/scripts --decoder-flags "-v 0" --no-filter-phrase-table --inputtype 3    --batch-mira --return-best-dev --filtercmd '/home/vps/mosesdecoder/scripts/training/filter-model-given-input.pl -Binarizer "CreateOnDiskPt 1 1 5 100 2" ' --batch-mira-args '-J 300' --decoder-flags '-threads 8 -v 0' 1>&mert.out                                   Â
but it dies in following step: Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Finished loading LM0
Loading UnknownWordPenalty0
Finished loading UnknownWordPenalty0
Loading TranslationModel0
Finished loading TranslationModel0
Loading TranslationModel1
Finished loading TranslationModel1
START LoadMappings()
END LoadMappings()
END LoadDecodeGraphBackoff()
Loaded : [0.0490292] seconds
RUN BATCH
terminate called after throwing an instance of 'util::Exception'
 what(): moses2/SCFG/nbest/KBestExtractor.cpp:42 in void Moses2::SCFG::KBestE$
Only suppose to be 1 hypo coll in last stack
Aborted (core dumped)
Exit code: 134
The decoder died. CONFIG WAS -weight-overwrite 'TranslationModel1= 0.285714 Phr$
how can I fix it?
Thank you for your attention