Hi Giuseppe

The first error that you give is because the format of the moses.ini file has 
changed. You need to add an extra digit at the beginning of the line that 
specifies the ttable-file. Add 0 for a memory-based ttable, and 1 for a 
binarised ttable.

The second error is from irstlm. Probably it's because irstlm is not thread-
safe, and its cache has been corrupted by using it with mosesmt. You should 
switch to srilm if you want to use mosesmt,

regards
Barry

On Tuesday 11 May 2010 16:37:56 Giuseppe Attardi wrote:
> We are running into problems with the version of moses released on April
> 26th.
> 
> mosesmt fails when using tables prouced with a previous version:
> 
> Defined parameters (per moses.ini or switch):
>          config: moses.ini
>          distortion-file: 0-0 msd-bidirectional-fe 6
> combinedBaseline/workdir/model/reorderTable/reordering-table
>          distortion-limit: 6
>          input-factors: 0
>          lmodel-file: 1 0 5 baseline/languageModel/english.blm.mm
>          mapping: 0 T 0
>          ttable-file: 0 0 5
> combinedBaseline/workdir/model/phraseTable/phrase-table
>          ttable-limit: 20
>          weight-d: 0.003898 0.007663 0.006007 0.003433 0.009267 0.008950
> 0.000680
>          weight-l: 0.009245
>          weight-t: 0.000169 0.000468 0.009222 0.002168 -0.010274
>          weight-w: -0.928554
> ERROR:Expected at least 5 tokens per emtry in 'ttable-file', but only
> found 4
> 
> 
> With the new moses we trained a simple model on a small corpus of 2000,
> but during tuning, running the command:
> 
> 
> /MT/tools/moses/bin/moses-scripts/scripts-20100510-1108/training/mert-moses
> -new.pl \
>          input \
>          reference \
>          /MT/tools/moses/moses-cmd/src/mosesmt \
>          ../model/moses.ini \
>          --working-dir . \
>          --rootdir /MT/tools/moses/bin/moses-scripts/scripts-20100510-1108
>  \ --mertdir /MT/tools/moses/mert
> /MT/tools/scripts/reuse-weights.perl moses.ini
> 
> we get:
> 
> ...
> Translating: l' efficacia della soluzione iniettabile รจ stata
> confrontata con placebo su un arco di due ore di tempo , in due studi
> che hanno coinvolto 805 pazienti schizofrenici o con condizioni
> collegate , in stato di agitazione .
> 
> mosesmt: ngramcache.cpp:87: int ngramcache::add(const int*, const
> char*): Assertion `found == entry' failed.
> Translating line 8  in thread id -572839664
> sh: line 1:  7365 Aborted
> /MT/tools/moses/moses-cmd/src/mosesmt -config filtered/moses.ini
> -inputtype 0 -w 0.000000 -lm 0.111111 -d 0.111111 0.111111 0.111111
> 0.111111 0.111111 0.111111 0.111111 -tm 0.033333 0.022222 0.033333
> 0.022222 0.000000 -n-best-list run1.best100.out 100 -i
> /MT/it-en/tmp/tuning/input > run1.out
> Exit code: 134
> The decoder died. CONFIG WAS -w 0.000000 -lm 0.111111 -d 0.111111
> 0.111111 0.111111 0.111111 0.111111 0.111111 0.111111 -tm 0.033333
> 0.022222 0.033333 0.022222 0.000000
> make: *** [moses.ini] Error 134
> 
> Thank you.
> 
> -- Beppe
> 
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
> 


_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to