DLS C5 W1 Lab 2 intruction error

The instructions for creating ‘X’ in the final code block (in function model) state:

Create the list of input characters: X

  • rnn_forward uses the None value as a flag to set the input vector as a zero-vector.
  • Prepend the list [None] in front of the list of input characters.

However, the last line is wrong, and should be as follows:

  • Prepend the list [None] in front of the list of input character indices. (Emphasis added.)

This is important. The list ‘single_example_chars’ contains input characters and the list ‘single_example_ix’ contains input character indices. If you confuse the two, as the instructions do, you will get an error. (I encountered this error.)

Request: course staff, can you please update instructions as I have proposed above? Thanks!

Hi @am003e,

We shall see.

Best,
Mubsi