summaryrefslogtreecommitdiff
path: root/cdec/mira.sh.old
diff options
context:
space:
mode:
Diffstat (limited to 'cdec/mira.sh.old')
-rwxr-xr-xcdec/mira.sh.old22
1 files changed, 22 insertions, 0 deletions
diff --git a/cdec/mira.sh.old b/cdec/mira.sh.old
new file mode 100755
index 0000000..5e3c9c3
--- /dev/null
+++ b/cdec/mira.sh.old
@@ -0,0 +1,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
+