summaryrefslogtreecommitdiff
path: root/dtrain/test/example/dtrain.ini
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-11-05 21:34:22 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2012-11-05 21:34:22 -0500
commit709bf16fbf7e88d15c9a9f3356c63e9ff38fa05d (patch)
tree3ec67e4084b6be65555d70766ebfe5d2b18cd410 /dtrain/test/example/dtrain.ini
parent782fb27af98ed98256cc25c832131c59c8e9ce9c (diff)
parent2eb77b77d28f6d9dc88ecb6ca999994bdb555445 (diff)
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'dtrain/test/example/dtrain.ini')
-rw-r--r--dtrain/test/example/dtrain.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrain/test/example/dtrain.ini b/dtrain/test/example/dtrain.ini
index c8ac7c3f..72d50ca1 100644
--- a/dtrain/test/example/dtrain.ini
+++ b/dtrain/test/example/dtrain.ini
@@ -1,6 +1,6 @@
input=test/example/nc-wmt11.1k.gz # use '-' for STDIN
output=- # a weights file (add .gz for gzip compression) or STDOUT '-'
-select_weights=VOID # don't output weights
+select_weights=VOID # don't output weights
decoder_config=test/example/cdec.ini # config for cdec
# weights for these features will be printed on each iteration
print_weights=Glue WordPenalty LanguageModel LanguageModel_OOV PhraseModel_0 PhraseModel_1 PhraseModel_2 PhraseModel_3 PhraseModel_4 PhraseModel_5 PhraseModel_6 PassThrough
@@ -8,11 +8,11 @@ tmp=/tmp
stop_after=10 # stop epoch after 10 inputs
# interesting stuff
-epochs=3 # run over input 3 times
+epochs=2 # run over input 2 times
k=100 # use 100best lists
N=4 # optimize (approx) BLEU4
scorer=stupid_bleu # use 'stupid' BLEU+1
-learning_rate=0.0001 # learning rate
+learning_rate=1.0 # learning rate, don't care if gamma=0 (perceptron)
gamma=0 # use SVM reg
sample_from=kbest # use kbest lists (as opposed to forest)
filter=uniq # only unique entries in kbest (surface form)