Bidirectional LSTM

Create and run a bidirectional LSTM model.

Chapter Goals:

  • Learn about the bidirectional LSTM and why it's used

A. Forwards and backwards

The language model from the Language Model section of this course used a regular LSTM which read each input sequence in the forwards direction. This meant that the recurrent connections went in the left-right direction, i.e. from time step tt to time step t+1t + 1 ...