summaryrefslogtreecommitdiff
path: root/cdec/mira_old.sh
blob: 5e3c9c365e548d4e4420ab8f701722b6facf71d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

CDEC=/cdec
DEV_IN=/path/to/input/file
DEV_REF=/path/to/refs/file

$CDEC/mira/kbest_mira \
  --input_weights weights.init \
  --source $DEV_IN \
  --reference $DEV_REF \
  --passes 15 \
  --mt_metric NIST_BLEU \
  --max_step_size 0.01 \
  --mt_metric_scale 1 \
  --k_best_size 250 \
  --sample_forest \
  --sample_forest_unit_weight_vector \
  --decoder_config $(pwd)/cdec.ini \
  &> mira.out

gzip mira.out