From 2e605eb2745e56619b16fdbcb8095e0a6543ab27 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 3 Aug 2011 01:29:52 +0200 Subject: refactoring, cleaning up --- dtrain/scripts/run.sh | 4 ++++ dtrain/scripts/test.sh | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100755 dtrain/scripts/run.sh create mode 100755 dtrain/scripts/test.sh (limited to 'dtrain/scripts') 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 + -- cgit v1.2.3