Changed to en-de.
@@ -153,8 +153,8 @@ train_params = {
"pad_vocab_to_eight": pad_2_eight,
"src_vocab_file": data_root + "vocab.bpe.32000",
"tgt_vocab_file": data_root + "vocab.bpe.32000",
- "source_file": data_root + "train.tok.clean.bpe.32000.de",
- "target_file": data_root + "train.tok.clean.bpe.32000.en",
+ "source_file": data_root + "train.tok.clean.bpe.32000.en",
+ "target_file": data_root + "train.tok.clean.bpe.32000.de",
"delimiter": " ",
"shuffle": shuffle_train,
"shuffle_buffer_size": 25000,
@@ -172,8 +172,8 @@ eval_params = {
"pad_vocab_to_eight": pad_2_eight,
"src_vocab_file": data_root + "vocab.bpe.32000",
"tgt_vocab_file": data_root + "vocab.bpe.32000",
- "source_file": data_root + "newstest2014.tok.bpe.32000.de",
- "target_file": data_root + "newstest2014.tok.bpe.32000.en",
+ "source_file": data_root + "newstest2014.tok.bpe.32000.en",
+ "target_file": data_root + "newstest2014.tok.bpe.32000.de",
"delimiter": " ",
"shuffle": False,
"repeat": True,
@@ -189,9 +189,9 @@ infer_params = {
"pad_vocab_to_eight": pad_2_eight,
"src_vocab_file": data_root + "vocab.bpe.32000",
"tgt_vocab_file": data_root + "vocab.bpe.32000",
- "source_file": data_root + "newstest2014.tok.bpe.32000.de",
+ "source_file": data_root + "newstest2014.tok.bpe.32000.en",
# this is intentional to be sure that model is not using target
- "target_file": data_root + "newstest2014.tok.bpe.32000.de",
+ "target_file": data_root + "newstest2014.tok.bpe.32000.en",
"delimiter": " ",
"shuffle": False,
"repeat": False,
