diff --git a/mira/Main.cpp b/mira/Main.cpp index 5505569f9..a1b097b93 100644 --- a/mira/Main.cpp +++ b/mira/Main.cpp @@ -128,18 +128,18 @@ int main(int argc, char** argv) { bool useAverageWeightsForPruning; po::options_description desc("Allowed options"); desc.add_options()("accumulate-most-violated-constraints", po::value(&accumulateMostViolatedConstraints)->default_value(false),"Accumulate most violated constraint per example") - ("accumulate-weights", po::value(&accumulateWeights)->default_value(true), "Accumulate and average weights over all epochs") + ("accumulate-weights", po::value(&accumulateWeights)->default_value(false), "Accumulate and average weights over all epochs") ("adapt-BP-factor", po::value(&adapt_BPfactor)->default_value(0), "Set factor to 1 when optimal translation length in reached") ("base-of-log", po::value(&baseOfLog)->default_value(10), "Base for log-ing feature values") ("batch-size,b", po::value(&batchSize)->default_value(1), "Size of batch that is send to optimiser for weight adjustments") ("BP-factor", po::value(&BPfactor)->default_value(1.0), "Increase penalty for short translations") ("config,f", po::value(&mosesConfigFile), "Moses ini file") - ("control-updates", po::value(&controlUpdates)->default_value(false), "Ignore updates that increase number of violated constraints AND increase the error") + ("control-updates", po::value(&controlUpdates)->default_value(true), "Ignore updates that increase number of violated constraints AND increase the error") ("decoder-settings", po::value(&decoder_settings)->default_value(""), "Decoder settings for tuning runs") ("decr-learning-rate", po::value(&decrease_learning_rate)->default_value(0),"Decrease learning rate by the given value after every epoch") ("decr-sentence-update", po::value(&decrease_sentence_update)->default_value(0), "Decrease maximum weight update by the given value after every epoch") ("dev-bleu", po::value(&devBleu)->default_value(true), "Compute BLEU score of oracle translations of the whole tuning set") - ("distinct-nbest", po::value(&distinctNbest)->default_value(false), "Use nbest list with distinct translations in inference step") + ("distinct-nbest", po::value(&distinctNbest)->default_value(true), "Use nbest list with distinct translations in inference step") ("weight-dump-frequency", po::value(&weightDumpFrequency)->default_value(1), "How often per epoch to dump weights, when using mpi") ("epochs,e", po::value(&epochs)->default_value(5), "Number of epochs") ("help", po::value(&help)->zero_tokens()->default_value(false), "Print this help message and exit")