summaryrefslogtreecommitdiff
path: root/training/mira/mira.py
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-06-25 22:14:22 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-06-25 22:14:22 +0100
commit6d160399846c90d488250b2b7f01a83f7e53e54a (patch)
tree8b3b01b2f3ff8528ab549fd80f878797fb443f6d /training/mira/mira.py
parentb42f943abbb2e3e85167f5909fc583de26371de4 (diff)
parent6fc88f93ef4d23bb94263599b8d0e37ea470ae06 (diff)
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'training/mira/mira.py')
-rwxr-xr-xtraining/mira/mira.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/mira/mira.py b/training/mira/mira.py
index f031c313..29c51e1d 100755
--- a/training/mira/mira.py
+++ b/training/mira/mira.py
@@ -96,7 +96,7 @@ def main():
parser.add_argument('-m', '--metric', default='ibm_bleu',
help='metric to optimize. Example values: '
'ibm_bleu, nist_bleu, Koehn_bleu, TER, Combi')
- parser.add_argument('--max-iterations', type=int, default=10, metavar='N',
+ parser.add_argument('--max-iterations', type=int, default=20, metavar='N',
help='maximum number of iterations to run')
parser.add_argument('--optimizer', type=int, default=2, choices=range(1,6),
help='learning method to use for weight update.'