This file is used for answering Q1-Q6
This file is used for answering Q7
The in-class notebook where we are required to change the RNN to LSTM. The following lines were added
self.lstm = nn.LSTM(embedding_dim, hidden_size=hidden_dim, num_layers=2)
Here, we specified LSTM and also the number of layers.