Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mira
diff options
context:
space:
mode:
authorEva Hasler <ehasler@saxnot.inf.ed.ac.uk>2012-05-01 03:22:01 +0400
committerEva Hasler <ehasler@saxnot.inf.ed.ac.uk>2012-05-01 03:22:01 +0400
commite9fb37a91853e8e53a1dc5041032fa96799a3f35 (patch)
treedf0fc453c356fa89fe9cc666d4290f69196dd6be /mira
parent1b18c0a9149ee162e61b726d1d2b6d11e6fbf3b0 (diff)
set bleu weight back to 1
Diffstat (limited to 'mira')
-rw-r--r--mira/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mira/Main.cpp b/mira/Main.cpp
index 71fbb6540..ed02cd1c3 100644
--- a/mira/Main.cpp
+++ b/mira/Main.cpp
@@ -124,7 +124,7 @@ int main(int argc, char** argv) {
("avg-ref-length", po::value<bool>(&avgRefLength)->default_value(false), "Use average reference length instead of shortest for BLEU score feature")
("batch-equals-shard", po::value<bool>(&batchEqualsShard)->default_value(false), "Batch size is equal to shard size (purely batch)")
("batch-size,b", po::value<size_t>(&batchSize)->default_value(1), "Size of batch that is send to optimiser for weight adjustments")
- ("bw", po::value<float>(&bleuWeight)->default_value(2.0), "Bleu score weight used in the decoder objective function (on top of the Bleu objective weight)")
+ ("bw", po::value<float>(&bleuWeight)->default_value(1.0), "Bleu score weight used in the decoder objective function (on top of the Bleu objective weight)")
("bw-hope", po::value<float>(&bleuWeight_hope)->default_value(-1), "Bleu score weight used in the decoder objective function for hope translations")
("bw-fear", po::value<float>(&bleuWeight_fear)->default_value(-1), "Bleu score weight used in the decoder objective function for fear translations")
("blm", po::value<bool>(&bleu_weight_lm)->default_value(false), "Make bleu weight depend on lm weight")