Encoder-Decoder LSTM model gives 'nan' loss and predictions
Encoder-Decoder LSTM model gives 'nan' loss and predictions Question: I am trying to create a basic encoder-decoder model for training a chatbot. X contains the questions or human dialogues and Y contains the bot answers. I have padded the sequences to the max size of input and output sentences. X.shape = (2363, 242, 1) and …