Creating A Chatbot From Scratch Using Keras And TensorFlow Leveraging the powers of seq2seq networks. I regularly follow your posts like on Seq2Seq and this one on transformer etc., so would really appreciate a standard way of doing this for the models which do not use the sessions in Tensorflow. LSTM This is what makes this an LSTM neural network. set_np batch_size, num_steps = 32, 35 train_iter, vocab = d2l. The dataset is already preprocessed and containing an overall of 10000 different words, including the end-of-sentence marker and a special symbol (\