[encoder_input, decoder_input, labels, preds, train_op, global_step, mle_loss, merged],
feed_dict={context.is_train(): True})
if step % 100 == 0:
logging.info("step:{} source:{} targets:{} loss:{}".format(\
step, source.shape, target.shape, loss))
source, dec_in, target = source.tolist(), dec_in.tolist(), target.tolist()
swords = [ " ".join([vocab._id_to_token_map_py[i] for i in sent]) for sent in source ]
dwords = [ " ".join([vocab._id_to_token_map_py[i] for i in sent]) for sent in dec_in ]
twords = [ " ".join([vocab._id_to_token_map_py[i] for i in sent]) for sent in target ]