From 574e2336348e5d3960b3232209d01845b40e6ea8 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 21 Nov 2011 12:21:08 +0100 Subject: added pro stuff,clean up --- dtrain/test/example/cdec.ini | 5 +++-- dtrain/test/example/dtrain.ini | 24 +++++++++++++----------- dtrain/test/example/nc-1k-tabs.gz | Bin 21185883 -> 0 bytes dtrain/test/example/nc-1k.gz | Bin 21474865 -> 0 bytes dtrain/test/example/nc-wmt11.1k.gz | Bin 0 -> 21185883 bytes 5 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 dtrain/test/example/nc-1k-tabs.gz delete mode 100644 dtrain/test/example/nc-1k.gz create mode 100644 dtrain/test/example/nc-wmt11.1k.gz (limited to 'dtrain/test/example') 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-tabs.gz b/dtrain/test/example/nc-1k-tabs.gz deleted file mode 100644 index 45496cd8..00000000 Binary files a/dtrain/test/example/nc-1k-tabs.gz and /dev/null differ diff --git a/dtrain/test/example/nc-1k.gz b/dtrain/test/example/nc-1k.gz deleted file mode 100644 index f638a166..00000000 Binary files a/dtrain/test/example/nc-1k.gz and /dev/null differ diff --git a/dtrain/test/example/nc-wmt11.1k.gz b/dtrain/test/example/nc-wmt11.1k.gz new file mode 100644 index 00000000..45496cd8 Binary files /dev/null and b/dtrain/test/example/nc-wmt11.1k.gz differ -- cgit v1.2.3