I have a LSTM that I\'m using for text generation where the model.compile looks like
model.compile(optimizer=keras.optimizers.Adam(), loss=keras