diff options
Diffstat (limited to 'realtime/rt/decoder.py')
-rw-r--r-- | realtime/rt/decoder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/realtime/rt/decoder.py b/realtime/rt/decoder.py index 5082911d..1bdd3f1f 100644 --- a/realtime/rt/decoder.py +++ b/realtime/rt/decoder.py @@ -38,7 +38,7 @@ class CdecDecoder(Decoder): class MIRADecoder(Decoder): - def __init__(self, config, weights, metric='bleu'): + def __init__(self, config, weights, metric='ibm_bleu'): cdec_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) mira = os.path.join(cdec_root, 'training', 'mira', 'kbest_cut_mira') # optimizer=2 step=0.001 best=500, k=500, uniq, stream, metric |