I\'m following this tutorial on RNN sentiment analysis with Keras, but with custom dataset. So in general the model looks like this: