NextWordPredictionUsingLSTM We used Shakespeare Hamlet dataset for model training Step1 - Text Preprocessing Converting text into sequences using tokenizer Creating input sequences Do padding Step2 - Training the model(Using LSTM) Dividing into train and test set Creating an Embedding layer for text embedding Creating two LSTM layers Creating a Dense layer with softmax activation function