summaryrefslogtreecommitdiff
path: root/training/mira/mira.py
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-02-06 10:26:29 +0100
committerPatrick Simianer <p@simianer.de>2014-02-06 10:26:29 +0100
commit7bfe96c2a706d375362c054619f28dd40c7c33e8 (patch)
treefb0698a3bcb4b38d99d7a07b87a573a571dd7be2 /training/mira/mira.py
parentc83f665cb7efbbfb0fdfa12203b09ba60e365d25 (diff)
parent3798fb9a43c27c3dfe0db5ee0dd0ef04bf5ee5f5 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'training/mira/mira.py')
-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 1861da1a..0980ef2e 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: '