Hi,
apparently I got 2 distortion weight if I didn't use the direction
(uni/bidirectional), and 3 weight if I used it.
So, if I should only have one weight, can I just simply delete the other weight
to fix it. Or, you have figured out a way to fix it permanently, without having
to edit the moses.ini every time I train the monotonic reordering?
Thanks for your help,
Amri
======================================================================================
#########################
### MOSES CONFIG FILE ###
#########################
# input factors
[input-factors]
0
# mapping steps
[mapping]
0 T 0
# translation tables: source-factors, target-factors, number of scores, file
[ttable-file]
0 0 5 /root/project/working-dir/model/phrase-table.0-0.gz
# no generation models, no generation-file section
# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
0 0 5 /root/project/working-dir/lm/corpus.lm
# limit on how many phrase translations e for each phrase f are loaded
# 0 = all elements loaded
[ttable-limit]
20
0
# distortion (reordering) files
[distortion-file]
0-0 monotonicity-bidirectional-fe 2
/root/project/working-dir/model/reordering-table.monotonicity-bidirectional-fe.0.5.0-0.gz
# distortion (reordering) weight
[weight-d]
0.3
0.3
0.3
# language model weights
[weight-l]
0.5000
# translation model weights
[weight-t]
0.2
0.2
0.2
0.2
0.2
# no generation models, no weight-generation section
# word penalty
[weight-w]
-1
[distortion-limit]
6
========================================================================================
#########################
### MOSES CONFIG FILE ###
#########################
# input factors
[input-factors]
0
# mapping steps
[mapping]
0 T 0
# translation tables: source-factors, target-factors, number of scores, file
[ttable-file]
0 0 5 /root/project/working-dir/model/phrase-table.0-0.gz
# no generation models, no generation-file section
# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
0 0 5 /root/project/working-dir/lm/corpus.lm
# limit on how many phrase translations e for each phrase f are loaded
# 0 = all elements loaded
[ttable-limit]
20
0
# distortion (reordering) files
[distortion-file]
0-0 monotonicity-fe 1
/root/project/working-dir/model/reordering-table.monotonicity-fe.0.5.0-0.gz
# distortion (reordering) weight
[weight-d]
0.3
0.3
# language model weights
[weight-l]
0.5000
# translation model weights
[weight-t]
0.2
0.2
0.2
0.2
0.2
# no generation models, no weight-generation section
# word penalty
[weight-w]
-1
[distortion-limit]
6
=========================================================================================
----- Pesan Asli ----
Dari: Philipp Koehn <[EMAIL PROTECTED]>
Kepada: menor bangget <[EMAIL PROTECTED]>
Cc: moses-support <[email protected]>
Terkirim: Rabu, 30 Januari, 2008 9:51:26
Topik: Re: [Moses-support] ScoreComponentCollection.h error
Hi,
there
seems
to
be
something
wrong
with
your
weight
setting
that
is
not
caught
during
parameter
startup.
This
is
a
bit
odd:
[..]
"
-d
0.250000
0.250000
"
[..]
Why
do
you
have
two
distortion
weights,
especially
if
you
are
using
monotonic
decoding.
There
should
be
one
weight
for
the
distance-based
reordering
feature.
Could
you
post
the
parts
of
the
moses.ini
that
relate
to
reordering?
-phi
________________________________________________________
Kunjungi halaman depan Yahoo! Indonesia yang baru!
http://id.yahoo.com/_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support