summaryrefslogtreecommitdiff
path: root/training/dtrain/examples/toy
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-09-19 10:58:06 +0200
committerPatrick Simianer <p@simianer.de>2015-09-19 10:58:06 +0200
commit86ea4ed498d96c1d988f2287afa580dcf558ddb0 (patch)
treeb775f792323a11559328b545b5b9f93c711dae08 /training/dtrain/examples/toy
parent4111e64b9e7575afa4138f8795684813265d81a5 (diff)
dtrain: removed old stuff
Diffstat (limited to 'training/dtrain/examples/toy')
-rw-r--r--training/dtrain/examples/toy/cdec.ini4
-rw-r--r--training/dtrain/examples/toy/dtrain.ini13
-rw-r--r--training/dtrain/examples/toy/expected-output77
-rw-r--r--training/dtrain/examples/toy/grammar.gzbin219 -> 0 bytes
-rw-r--r--training/dtrain/examples/toy/src2
-rw-r--r--training/dtrain/examples/toy/tgt2
6 files changed, 0 insertions, 98 deletions
diff --git a/training/dtrain/examples/toy/cdec.ini b/training/dtrain/examples/toy/cdec.ini
deleted file mode 100644
index e6c19abe..00000000
--- a/training/dtrain/examples/toy/cdec.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-formalism=scfg
-add_pass_through_rules=true
-grammar=grammar.gz
-#add_extra_pass_through_features=6
diff --git a/training/dtrain/examples/toy/dtrain.ini b/training/dtrain/examples/toy/dtrain.ini
deleted file mode 100644
index ef956df7..00000000
--- a/training/dtrain/examples/toy/dtrain.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-decoder_config=cdec.ini
-input=src
-refs=tgt
-output=-
-print_weights=logp shell_rule house_rule small_rule little_rule PassThrough PassThrough_1 PassThrough_2 PassThrough_3 PassThrough_4 PassThrough_5 PassThrough_6
-k=4
-N=4
-epochs=2
-scorer=bleu
-sample_from=kbest
-filter=uniq
-pair_sampling=all
-learning_rate=1
diff --git a/training/dtrain/examples/toy/expected-output b/training/dtrain/examples/toy/expected-output
deleted file mode 100644
index 1da2aadd..00000000
--- a/training/dtrain/examples/toy/expected-output
+++ /dev/null
@@ -1,77 +0,0 @@
-Warning: hi_lo only works with pair_sampling XYX.
- cdec cfg 'cdec.ini'
-Seeding random number sequence to 1664825829
-
-dtrain
-Parameters:
- k 4
- N 4
- T 2
- scorer 'bleu'
- sample from 'kbest'
- filter 'uniq'
- learning rate 1
- gamma 0
- loss margin 0
- pairs 'all'
- pair threshold 0
- select weights 'last'
- l1 reg 0 'none'
- max pairs 4294967295
- cdec cfg 'cdec.ini'
- input 'src'
- refs 'tgt'
- output '-'
-(a dot represents 10 inputs)
-Iteration #1 of 2.
- 2
-WEIGHTS
- logp = +0
- shell_rule = -1
- house_rule = +2
- small_rule = -2
- little_rule = +3
- PassThrough = -5
- ---
- 1best avg score: 0.5 (+0.5)
- 1best avg model score: 2.5 (+2.5)
- avg # pairs: 4
- avg # rank err: 1.5
- avg # margin viol: 0
- non0 feature count: 6
- avg list sz: 4
- avg f count: 2.875
-(time 0 min, 0 s/S)
-
-Iteration #2 of 2.
- 2
-WEIGHTS
- logp = +0
- shell_rule = -1
- house_rule = +2
- small_rule = -2
- little_rule = +3
- PassThrough = -5
- ---
- 1best avg score: 1 (+0.5)
- 1best avg model score: 5 (+2.5)
- avg # pairs: 5
- avg # rank err: 0
- avg # margin viol: 0
- non0 feature count: 6
- avg list sz: 4
- avg f count: 3
-(time 0 min, 0 s/S)
-
-Writing weights file to '-' ...
-house_rule 2
-little_rule 3
-Glue -4
-PassThrough -5
-small_rule -2
-shell_rule -1
-done
-
----
-Best iteration: 2 [SCORE 'bleu'=1].
-This took 0 min.
diff --git a/training/dtrain/examples/toy/grammar.gz b/training/dtrain/examples/toy/grammar.gz
deleted file mode 100644
index 8eb0d29e..00000000
--- a/training/dtrain/examples/toy/grammar.gz
+++ /dev/null
Binary files differ
diff --git a/training/dtrain/examples/toy/src b/training/dtrain/examples/toy/src
deleted file mode 100644
index 87e39ef2..00000000
--- a/training/dtrain/examples/toy/src
+++ /dev/null
@@ -1,2 +0,0 @@
-ich sah ein kleines haus
-ich fand ein kleines haus
diff --git a/training/dtrain/examples/toy/tgt b/training/dtrain/examples/toy/tgt
deleted file mode 100644
index 174926b3..00000000
--- a/training/dtrain/examples/toy/tgt
+++ /dev/null
@@ -1,2 +0,0 @@
-i saw a little house
-i found a little house