summaryrefslogtreecommitdiff
path: root/cdec/mert.sh
blob: 3af9e65e2300f3c5e6b2247e6ebed008d43a1cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
 
CDEC=/path/to/cdec
DEVSET=/path/to/pasted/file
 
$CDEC/training/dpmert/dpmert.pl \
  --devset $DEVSET \
  --config $(pwd)/cdec.ini \
  --weights $(pwd)/weights.init \
  --metric IBM_BLEU \
  --iterations 15 \
  --random-directions 15 \
  --output-dir $(pwd)/work \
  --jobs 2 \
  &> mert.out

gzip mert.out