Hi Souhir

I've definitely seen this error message before. I can't quite remember what the fix is, but I think it happens when one of your features is completely uninformative. In other words, one of your features has the same value for all hypotheses in the nbest list. You could check the nbest lists to see if this is the case,

cheers - Barry

On 30/11/12 23:04, Souhir Gahbiche wrote:
Hi Barry,
The mert.out file is empty.
The content of mert.log

shard_size = 0 shard_count = 0
Seeding random numbers with system clock
name: case value: true
Data::m_score_type BLEU
Data::Scorer type from Scorer: BLEU
Loading Data from: run1.scores.dat and run1.features.dat
loading feature data from run1.features.dat
loading score data from run1.scores.dat
Loading Data from: run2.scores.dat and run2.features.dat
loading feature data from run2.features.dat
loading score data from run2.scores.dat
Loading Data from: run3.scores.dat and run3.features.dat
loading feature data from run3.features.dat
loading score data from run3.scores.dat
Loading Data from: run4.scores.dat and run4.features.dat
loading feature data from run4.features.dat
loading score data from run4.scores.dat
Data loaded : [Wall 3.5634 CPU 3.56022] seconds.
Creating a pool of 1 threads
Check abs(leftmost->first-gradient.rbegin()->first) < 0.0001 failed in mert/Optimizer.cpp:170

Bests

2012/11/30 Barry Haddow <[email protected] <mailto:[email protected]>>

    Hi Souhir

    Can you posted the contents of mert.out and mert.log?

    cheers - Barry


    On 30/11/12 17:03, Souhir Gahbiche wrote:

        Hi all,
        I have a problem with tuning. When I run mert, it stopps at
        run4. I retried mert many times, but I had the same error
        messge...

        BEST TRANSLATION: Medellin ( ( Colombie ) , 6 - 12 - 2010 (
        AFP ) - [111111111111111]  [total=-4.725] <<0.000, -15.000,
        0.000, -4.928, 0.000, 0.000, -1.867, 0.000, 0.000, -69.501,
        0.000, -2.906, -8.313, -2.120, -10.696, 9.999>>
        Translation took 1.100 seconds
        Finished translating
        The decoder returns the scores in this order: d d d d d d d lm
        lm w tm tm tm tm tm
        Executing: gzip -f run4.best100.out
        Scoring the nbestlist.
        exec:
        /vol/work1/souhir/SAMAR/systeme-201209/mert-oov-work/extractor.sh
        Executing:
        /vol/work1/souhir/SAMAR/systeme-201209/mert-oov-work/extractor.sh
        > extract.out 2> extract.err
        Executing: \cp -f init.opt run4.init.opt
        exec: ~/software/mosesdecoder_06072012/bin/mert -d 15
        --scconfig case:true --ffile
        run1.features.dat,run2.features.dat,run3.features.dat,run4.features.dat
        --scfile
        run1.scores.dat,run2.scores.dat,run3.scores.dat,run4.scores.dat --ifile
        run4.init.opt -n 20
Executing: ~/software/mosesdecoder_06072012/bin/mert -d 15 --scconfig case:true --ffile
        run1.features.dat,run2.features.dat,run3.features.dat,run4.features.dat
        --scfile
        run1.scores.dat,run2.scores.dat,run3.scores.dat,run4.scores.dat --ifile
        run4.init.opt -n 20 > mert.out 2> mert.log
        sh: line 1:  3788 Aborted
        ~/software/mosesdecoder_06072012/bin/mert -d 15 --scconfig
        case:true--ffile
        run1.features.dat,run2.features.dat,run3.features.dat,run4.features.dat
        --scfile
        run1.scores.dat,run2.scores.dat,run3.scores.dat,run4.scores.dat --ifile
        run4.init.opt -n 20 > mert.out 2> mert.log
        Exit code: 134
        ERROR: Failed to run
        '~/software/mosesdecoder_06072012/bin/mert -d 15   --scconfig
        case:true --ffile
        run1.features.dat,run2.features.dat,run3.features.dat,run4.features.dat
        --scfile
        run1.scores.dat,run2.scores.dat,run3.scores.dat,run4.scores.dat --ifile
        run4.init.opt -n 20'. at
        ~/software/mosesdecoder_06072012//scripts/training/mert-moses.pl
        <http://mert-moses.pl> <http://mert-moses.pl> line 1374.


        Here's the moses.ini

        #########################
        ### MOSES CONFIG FILE ###
        #########################

        # input factors
        [input-factors]
        0

        # mapping steps
        [mapping]
        0 T 0

        # translation tables: table type (hierarchical(0), textual
        (0), binary (1)), source-factors, target-factors, number of
        scores, file
        # OLD FORMAT is still handled for back-compatibility
        # OLD FORMAT translation tables: source-factors,
        target-factors, number of scores, file
        # OLD FORMAT a binary table type (1) is assumed
        [ttable-file]
        0 0 0 5 phrase-table.gz

        # no generation models, no generation-file section

        # language models: type(srilm/irstlm), factors, order, file
        [lmodel-file]
        8 0 4 /vol/work1/souhir/LM/blm.mmap


        # limit on how many phrase translations e for each phrase f
        are loaded
        # 0 = all elements loaded
        [ttable-limit]
        20

        # distortion (reordering) files
        [distortion-file]
        0-0 wbe-msd-bidirectional-fe-allff 6
        reordering-table.wbe-msd-bidirectional-fe.gz

        # distortion (reordering) weight
        [weight-d]
        0.3
        0.3
        0.3
        0.3
        0.3
        0.3
        0.3

        # language model weights
        [weight-l]
        0.5000
        0.5000


        # translation model weights
        [weight-t]
        0.20
        0.20
        0.20
        0.20
        0.20

        # no generation models, no weight-generation section

        # word penalty
        [weight-w]
        -1

        [distortion-limit]
        6

        [lmodel-oov-feature]
        1

        Any ideas?
        Bests
        S.G


        _______________________________________________
        Moses-support mailing list
        [email protected] <mailto:[email protected]>
        http://mailman.mit.edu/mailman/listinfo/moses-support



-- The University of Edinburgh is a charitable body, registered in
    Scotland, with registration number SC005336.



_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to