summaryrefslogtreecommitdiff
path: root/training/mira/mira.py
diff options
context:
space:
mode:
authorChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-06-24 23:10:12 -0400
committerChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-06-24 23:10:12 -0400
commit3bca2ef755eb45f7f6e39e92a9adc02a7b4c84f0 (patch)
tree4b4dec613036d62aea15c3963965d2a958670b8a /training/mira/mira.py
parent5794c0109902cf19a52cc8f1799353270ed9d85d (diff)
remove old mira script, fix default number of iterations in new one
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.'