Introduction. Long short term memory (LSTM) is a model that increases the memory of recurrent neural networks . Recurrent neural networks hold short term memory in that they allow earlier determining information to be employed in the current neural networks. For immediate tasks, the earlier data is used.