diff options
Diffstat (limited to 'dtrain/scripts')
-rwxr-xr-x | dtrain/scripts/run.sh | 4 | ||||
-rwxr-xr-x | dtrain/scripts/test.sh | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dtrain/scripts/run.sh b/dtrain/scripts/run.sh new file mode 100755 index 00000000..f2b6d600 --- /dev/null +++ b/dtrain/scripts/run.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +./dtrain -c ./data/cdec.ini -k 200 -n 3 -t 10 < ./data/in.blunsom08 #< data/in.toy + diff --git a/dtrain/scripts/test.sh b/dtrain/scripts/test.sh new file mode 100755 index 00000000..3639dfe7 --- /dev/null +++ b/dtrain/scripts/test.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +EXP=$1 +#head -5000 +cat ./data/in.blunsom08 | ./dtest -q false -c ./data/cdec.ini -w ./data/weights-$EXP 2> ./output/err.$EXP > ./output/out.$EXP + |