Dinosaur Island-Character-Level Language Modeling - index error

hi in the last exercize i have an error on the module

loss, cache = rnn_forward(X, Y, a_prev, parameters)

it seems the index is out of range

IndexError: index 46 is out of bounds for axis 0 with size 27

where may i find the code of the module to understand better the error?

Please do the following:

  1. Move your topic to the correct subcategory. Here’s the community user guide to get started.
  2. Update the content of the post with stacktrace of the error (don’t post code)

Method rnn_forward is in utils.py. You can open the file from the jupyter file menu.