Not to be rude but did you actually read my question and look at the code, or are you just linking that tutorial because you read LSTM in the title? Again I’m honestly not trying to be rude, I’m wondering what exactly you think the tutorial can help with. I have read that tutorial and every single tutorial regarding text analysis on the tensorflow website. My code should resemble those of the tutorials pretty closely. My question still stands. I hope I didn’t offend you, please let me know if you have an idea as to the problem I posed.