Skip to content

Commit

Permalink
Add tiny sample data.
Browse files Browse the repository at this point in the history
  • Loading branch information
odashi committed Oct 20, 2016
1 parent 5980e7d commit 0d3e84f
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
36 changes: 36 additions & 0 deletions sample_data/tiny.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
1a 2a 3a 4a
1a 2a 3a 4a
1a 2a 3a 4a
1a 2a 3a 4a
1a 2a 3a 4a 5a
1a 2a 3a 4a 5a
1a 2a 3a 4a 5a
1a 2a 3a 4a 5a
1a 2a 3a 4a 5a 6a
1a 2a 3a 4a 5a 6a
1a 2a 3a 4a 5a 6a
1a 2a 3a 4a 5a 6a
1b 2b 3b 4b
1b 2b 3b 4b
1b 2b 3b 4b
1b 2b 3b 4b
1b 2b 3b 4b 5b 6b
1b 2b 3b 4b 5b 6b
1b 2b 3b 4b 5b 6b
1b 2b 3b 4b 5b 6b
1b 2b 3b 4b 5b 6b 7b 8b
1b 2b 3b 4b 5b 6b 7b 8b
1b 2b 3b 4b 5b 6b 7b 8b
1b 2b 3b 4b 5b 6b 7b 8b
1c 2c 3c 4c
1c 2c 3c 4c
1c 2c 3c 4c
1c 2c 3c 4c
1c 2c 3c 4c 5c 6c 7c
1c 2c 3c 4c 5c 6c 7c
1c 2c 3c 4c 5c 6c 7c
1c 2c 3c 4c 5c 6c 7c
1c 2c 3c 4c 5c 6c 7c 8c 9c 10c
1c 2c 3c 4c 5c 6c 7c 8c 9c 10c
1c 2c 3c 4c 5c 6c 7c 8c 9c 10c
1c 2c 3c 4c 5c 6c 7c 8c 9c 10c
36 changes: 36 additions & 0 deletions sample_data/tiny.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
1a 2a 3a 4a
1a 2a 3a 4a
1a 2a 3a 4a
1a 2a 3a 4a
1a 2a 3a 4a 5a
1a 2a 3a 4a 5a
1a 2a 3a 4a 5a
1a 2a 3a 4a 5a
1a 2a 3a 4a 5a 6a
1a 2a 3a 4a 5a 6a
1a 2a 3a 4a 5a 6a
1a 2a 3a 4a 5a 6a
1b 2b 3b 4b
1b 2b 3b 4b
1b 2b 3b 4b
1b 2b 3b 4b
1b 2b 3b 4b 5b 6b
1b 2b 3b 4b 5b 6b
1b 2b 3b 4b 5b 6b
1b 2b 3b 4b 5b 6b
1b 2b 3b 4b 5b 6b 7b 8b
1b 2b 3b 4b 5b 6b 7b 8b
1b 2b 3b 4b 5b 6b 7b 8b
1b 2b 3b 4b 5b 6b 7b 8b
1c 2c 3c 4c
1c 2c 3c 4c
1c 2c 3c 4c
1c 2c 3c 4c
1c 2c 3c 4c 5c 6c 7c
1c 2c 3c 4c 5c 6c 7c
1c 2c 3c 4c 5c 6c 7c
1c 2c 3c 4c 5c 6c 7c
1c 2c 3c 4c 5c 6c 7c 8c 9c 10c
1c 2c 3c 4c 5c 6c 7c 8c 9c 10c
1c 2c 3c 4c 5c 6c 7c 8c 9c 10c
1c 2c 3c 4c 5c 6c 7c 8c 9c 10c
29 changes: 29 additions & 0 deletions sample_data/tiny_config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[Corpus]
train_source=sample_data/tiny.in
train_target=sample_data/tiny.out
dev_source=sample_data/tiny.in
dev_target=sample_data/tiny.out
test_source=sample_data/tiny.in
test_target=sample_data/tiny.out

[Model]
rnn_cell=lstm
source_vocabulary=32
target_vocabulary=32
embedding=64
rnn_hidden=64
encoder_type=bidirectional
decoder_type=forward
attention_type=mlp
attention_hidden=64

[Train]
adam_alpha=0.001
adam_beta1=0.9
adam_beta2=0.999
adam_eps=1e-8
max_length=64
num_words_in_batch=2048
max_iteration=10000
evaluation_interval=100
random_seed=12345

0 comments on commit 0d3e84f

Please sign in to comment.