summaryrefslogtreecommitdiff
path: root/cdec/pro.sh
blob: 48b0078124df3d061db090537bcea2fbb53467e2 (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/pro/pro.pl \
  --config $(pwd)/cdec.ini \
  --devset $DEVSET \
  --weights $(pwd)/weights.init \
  --metric IBM_BLEU \
  --output-dir $(pwd)/work \
  --reg 500 \
  --reg-previous 5000 \
  --jobs 2 \
  &>pro.out

gzip pro.out