summaryrefslogtreecommitdiff
path: root/training/dtrain/parallelize.rb
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2012-11-20 13:56:14 -0500
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2012-11-20 13:56:14 -0500
commit8096fe18c137b8e329de7040e824277b21144f7a (patch)
treeb12f065758370ae9d12de1b7903002db707dbb09 /training/dtrain/parallelize.rb
parent6802ac200ef614b4935d597ed4cfc3857c1f6c06 (diff)
parent7460bc684804f372cc2c53a5692ea880f9dff337 (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'training/dtrain/parallelize.rb')
-rwxr-xr-xtraining/dtrain/parallelize.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/training/dtrain/parallelize.rb b/training/dtrain/parallelize.rb
index 1d277ff6..eb4148f5 100755
--- a/training/dtrain/parallelize.rb
+++ b/training/dtrain/parallelize.rb
@@ -7,9 +7,10 @@ if ARGV.size != 5
exit
end
-dtrain_bin = '/home/pks/bin/dtrain_local'
+cdec_dir = '/path/to/cdec_dir'
+dtrain_bin = "#{cdec_dir}/training/dtrain/dtrain_local"
ruby = '/usr/bin/ruby'
-lplp_rb = '/home/pks/mt/cdec-dtrain/dtrain/hstreaming/lplp.rb'
+lplp_rb = "#{cdec_dir}/training/dtrain/hstreaming/lplp.rb"
lplp_args = 'l2 select_k 100000'
gzip = '/bin/gzip'