summaryrefslogtreecommitdiff
path: root/dtrain/test/example
diff options
context:
space:
mode:
Diffstat (limited to 'dtrain/test/example')
-rw-r--r--dtrain/test/example/cdec.ini5
-rw-r--r--dtrain/test/example/dtrain.ini24
-rw-r--r--dtrain/test/example/nc-1k.gzbin21474865 -> 0 bytes
-rw-r--r--dtrain/test/example/nc-wmt11.1k.gz (renamed from dtrain/test/example/nc-1k-tabs.gz)bin21185883 -> 21185883 bytes
4 files changed, 16 insertions, 13 deletions
diff --git a/dtrain/test/example/cdec.ini b/dtrain/test/example/cdec.ini
index 31a205c7..ff99de7b 100644
--- a/dtrain/test/example/cdec.ini
+++ b/dtrain/test/example/cdec.ini
@@ -1,7 +1,8 @@
formalism=scfg
add_pass_through_rules=true
-cubepruning_pop_limit=30
scfg_max_span_limit=15
+intersection_strategy=cube_pruning
+cubepruning_pop_limit=30
feature_function=WordPenalty
feature_function=KLanguageModel test/example/nc-wmt11.en.srilm.gz
-feature_function=RuleIdentityFeatures
+#feature_function=RuleIdentityFeatures
diff --git a/dtrain/test/example/dtrain.ini b/dtrain/test/example/dtrain.ini
index 0b066013..fab4d317 100644
--- a/dtrain/test/example/dtrain.ini
+++ b/dtrain/test/example/dtrain.ini
@@ -1,18 +1,20 @@
decoder_config=test/example/cdec.ini
k=100
N=3
-gamma=0.001
-epochs=20
-input=test/example/nc-1k-tabs.gz
-scorer=smooth_bleu
-output=- #weights.gz
-stop_after=5
+learning_rate=0.0005
+gamma=0
+epochs=3
+input=test/example/nc-wmt11.1k.gz
+output=-
+scorer=stupid_bleu
sample_from=forest
-pair_sampling=108010
-select_weights=VOID
+#filter=unique
+pair_sampling=5050
+select_weights=last
print_weights=Glue WordPenalty LanguageModel LanguageModel_OOV PhraseModel_0 PhraseModel_1 PhraseModel_2 PhraseModel_3 PhraseModel_4 PassThrough
tmp=/tmp
-#unit_weight_vector=
-keep_w=true
+stop_after=10
+#keep_w=
+#update_ok=
#l1_reg=clip
-#l1_reg_strength=0.00001
+#l1_reg_strength=0.0001
diff --git a/dtrain/test/example/nc-1k.gz b/dtrain/test/example/nc-1k.gz
deleted file mode 100644
index f638a166..00000000
--- a/dtrain/test/example/nc-1k.gz
+++ /dev/null
Binary files differ
diff --git a/dtrain/test/example/nc-1k-tabs.gz b/dtrain/test/example/nc-wmt11.1k.gz
index 45496cd8..45496cd8 100644
--- a/dtrain/test/example/nc-1k-tabs.gz
+++ b/dtrain/test/example/nc-wmt11.1k.gz
Binary files differ