Moses-support Digest, Vol 82, Issue 51

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. Re: Stuck when running moses (Hieu Hoang)
2. Check scores.size() == indexes.second - indexes.first failed
(Eleftherios Avramidis)


----------------------------------------------------------------------

Message: 1
Date: Fri, 30 Aug 2013 18:49:34 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Stuck when running moses
To: Jelita Asian <jelitayang@gmail.com>, moses-support
<moses-support@mit.edu>
Message-ID: <5220DB2E.705@gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Jelita

in the new moses, you should use
-weight-overwrite 'TranslationModel0= 1 LM0= 0.8 Distortion0= 0.3
WordPenalty0= -0.2'
this is equivalent to
-weight-t 1 -weight-l 0.8 -weight-d 0.3 -weight-w -0.2
in the old format.

you moses.ini should also be in the new format. Don't mix old and new
format.

On 29/08/2013 10:22, Jelita Asian wrote:
> Hi Hieu,
>
> It was my mistake
>
> I just realized that I put my running moses script in 2 lines:
> ./moses.exe -f bin_id/moses.ini -weight-t 1 -weight-l 0.8 -weight-d 0.3
> -weight-w -0.2 -input-file $1.tmp1 > $2.tmp
>
> instead of one line like
> ./moses.exe -f bin_id/moses.ini -weight-t 1 -weight-l 0.8 -weight-d
> 0.3 -weight-w -0.2 -input-file $1.tmp1 > $2.tmp
>
> It must be entered by accident.
>
> If we use the new moses, can we still use this command
> ./moses.exe -f bin_id/moses.ini -weight-t 1 -weight-l 0.8 -weight-d
> 0.3 -weight-w -0.2 -input-file $1.tmp1 > $2.tmp
> but use the new moses.ini with alternate weight setting?
>
> Thanks.
>
>
> On Thu, Aug 29, 2013 at 4:17 PM, Hieu Hoang <Hieu.Hoang@ed.ac.uk
> <mailto:Hieu.Hoang@ed.ac.uk>> wrote:
>
> what is the EXACT command you entered? Can you also please attach
> your ini file.
>
> did you provide the decoder with a file of sentences you wish to
> translate? if not, it wait for you to enter a sentence to decode
>
>
>
> On 29 August 2013 10:10, Jelita Asian <jelitayang@gmail.com
> <mailto:jelitayang@gmail.com>> wrote:
>
> Hello, any pointer what's wrong? I need to press enter for it
> to go through to the next line. Is that something wrong with
> the phrase table?
>
> Best regards,
>
> Jelita
>
>
> On Wed, Aug 28, 2013 at 5:52 PM, Jelita Asian
> <jelitayang@gmail.com <mailto:jelitayang@gmail.com>> wrote:
>
> When I run the moses command, it suddenly stops with this
> error:
>
> Defined parameters (per moses.ini or switch):
> config: bin_id/moses.ini
> distortion-file: 0-0
> wbe-msd-bidirectional-fe-allff 6 bin_id/reordering-
> table.Corpus27August2013.for_train.id-en.wbe-msd-bidirectional-fe
> distortion-limit: 6
> input-factors: 0
> lmodel-file: 1 0 4
> bin_id/en.LM-Corpus27August2013.for_train-IRSTLM-4-1-
> improved-kneser-ney-0-1.blm.mm
> <http://improved-kneser-ney-0-1.blm.mm>
> mapping: 0 T 0
> ttable-file: 1 0 0 5
> bin_id/phrase-table.Corpus27August2013.for_train.id
> <http://phrase-table.Corpus27August2013.for_train.id>
> -en
> ttable-limit: 20
> weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
> weight-l: 0.8
> weight-t: 1 0.2 0.2 0.2 0.2
> weight-w: -1
> .
> ScoreProducer: Distortion start: 0 end: 1
> ScoreProducer: WordPenalty start: 1 end: 2
> ScoreProducer: !UnknownWordPenalty start: 2 end: 3
> Loading lexical distortion models...have 1 models
> ScoreProducer:
> LexicalReordering_wbe-msd-bidirectional-fe-allff start: 3
> end: 9
> Creating lexical reordering...
> weights: 0.300 0.300 0.300 0.300 0.300 0.300
> binary file loaded, default OFF_T: -1
> Start loading LanguageModel
> bin_id/en.LM-Corpus27August2013.for_train-IRSTLM-4-1
> -improved-kneser-ney-0-1.blm.mm
> <http://improved-kneser-ney-0-1.blm.mm> : [0.322] seconds
> In LanguageModelIRST::Load: nGramOrder = 4
> Language Model Type of
> bin_id/en.LM-Corpus27August2013.for_train-IRSTLM-4-1-impr
> oved-kneser-ney-0-1.blm.mm
> <http://oved-kneser-ney-0-1.blm.mm> is 1
> Language Model Type is 1
> blmt
> loadbin()
> lmtable::loadbin_dict()
> dict->size(): 52515
> loadbin_level (level 1)
> mapping 52515 1-grams
> tableOffs 543479 tableGaps19191-grams
> done (level 1)
> loadbin_level (level 2)
> mapping 758553 2-grams
> tableOffs 1331204 tableGaps20484-grams
> done (level 2)
> loadbin_level (level 3)
> mapping 1690187 3-grams
> tableOffs 12709499 tableGaps61051-grams
> done (level 3)
> loadbin_level (level 4)
> mapping 2146354 4-grams
> tableOffs 38062304 tableGaps51424-grams
> done (level 4)
> done
> OOV code is 52514
> IRST: m_unknownId=52514
> ScoreProducer: LM start: 9 end: 10
> Finished loading LanguageModels : [0.630] seconds
> Start loading PhraseTable
> bin_id/phrase-table.Corpus27August2013.for_train.id-en
> : [0.634] seconds
> filePath:
> bin_id/phrase-table.Corpus27August2013.for_train.id-en
> ScoreProducer: PhraseModel start: 10 end: 15
> Finished loading phrase tables : [0.641] seconds
> IO from STDOUT/STDIN
> Created input-output object : [0.645] seconds
>
>
> However, sometime when I run the same code without
> changing anything, it seems OK. Why is that?
> Thanks.
>
> Best regards
>
> Jelita
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20130830/4247cf11/attachment-0001.htm

------------------------------

Message: 2
Date: Fri, 30 Aug 2013 19:50:19 +0200
From: Eleftherios Avramidis <Eleftherios.Avramidis@dfki.de>
Subject: [Moses-support] Check scores.size() == indexes.second -
indexes.first failed
To: moses-support@mit.edu
Message-ID: <5220DB5B.2040308@dfki.de>
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

the latest development version of the decoder (checked out yesterday)
fails to run with 3 kenlm language models during tuning. I am not sure
that this is the issue.

Translating line 0 i
Translating line 0 in thread id 140521597654784
reading bin ttable
size of OFF_T 8
binary phrasefile loaded, default OFF_T: -1
binary file loaded, default OFF_T: -1
Check scores.size() == indexes.second - indexes.first failed in ./moses/ScoreComponentCollection.h:235
Aborted (core dumped)
Exit code: 134
The decoder died. CONFIG WAS -weight-overwrite 'LM0= 0.089286 LM1= 0.089286 WordPenalty0= -0.178571 PhrasePenalty0= 0.035714 LM2= 0.089286 TranslationModel0= 0.035714 0.035714 0.035714 0.035714 Distortion0= 0.053571 LexicalReordering0= 0.053571 0.053571 0.053571 0.053571 0.053571 0.053571'
cp: cannot stat `/share/taraxu/systems/bmmt/20130812_MAN/tuning/tmp.6/moses.ini': No such file or directory

best
Lefteris



--
MSc. Inf. Eleftherios Avramidis
DFKI GmbH, Alt-Moabit 91c, 10559 Berlin
Tel. +49-30 238 95-1806

Fax. +49-30 238 95-1810

-------------------------------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Strasse 122, D-67663 Kaiserslautern

Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff

Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes

Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------------------------------------



------------------------------

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


End of Moses-support Digest, Vol 82, Issue 51
*********************************************

0 Response to "Moses-support Digest, Vol 82, Issue 51"

Post a Comment