summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-01-28 22:08:58 -0500
committerChris Dyer <redpony@gmail.com>2014-01-28 22:08:58 -0500
commit53edbab9e52b4247309ff6b99bb27748d1777de7 (patch)
treeab50f30c1ca61f09393147cf7eae53b2888000ae /training
parent06f5b0359dadcbfd663c8f585358805fbff181ab (diff)
better mira defaults, new release 2014-01-28
Diffstat (limited to 'training')
-rwxr-xr-xtraining/mira/mira.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/training/mira/mira.py b/training/mira/mira.py
index c84a8cff..77f2f35f 100755
--- a/training/mira/mira.py
+++ b/training/mira/mira.py
@@ -119,12 +119,12 @@ def main():
parser.add_argument('--metric-scale', type=int, default=1, metavar='N',
help='scale MT loss by this amount when computing'
' hope/fear candidates')
- parser.add_argument('-k', '--kbest-size', type=int, default=250, metavar='N',
+ parser.add_argument('-k', '--kbest-size', type=int, default=500, metavar='N',
help='size of k-best list to extract from forest')
parser.add_argument('--update-size', type=int, metavar='N',
help='size of k-best list to use for update. defaults to '
'equal kbest-size (applies to optimizer 5)')
- parser.add_argument('--step-size', type=float, default=0.01,
+ parser.add_argument('--step-size', type=float, default=0.001,
help='controls aggresiveness of update')
parser.add_argument('--hope', type=int, default=1, choices=range(1,3),
help='how to select hope candidate. options: '