summaryrefslogtreecommitdiff
path: root/training/mira/mira.py
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-07-02 12:20:00 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-07-02 12:20:00 +0200
commitadec182c6d6ed7667cd5a9d150774469b4c73fd5 (patch)
tree31a7c6226ce5aa7ef07e67e78a9ad7b69fc10d9d /training/mira/mira.py
parentb7ce1921924770754fd59d23118d89d8c34800c8 (diff)
parent25744f76788861086a547acee112dc6b58bd35b2 (diff)
Merge remote-tracking branch 'upstream/master'
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.'