Issues with the ungraded "C3_W2_Lab_3_imdb_subwords.ipynb" notebook

When I run the entire ungraded notebook “C3_W2_Lab_3_imdb_subwords.ipynb”, I have strage results! Look at this:

and this:

Can someone explain to me what is happening?


please click my name and message your notebook as an attachment.

Please use colab / coursera jupyter lab environment to run experiments. Do remember to set the random seed for us to compare results across identical hardware. Setting the seed reduces the variations in results across runs.

I’ve mailed you a single run using google colab. The notebook contains information about the nvidia card. the output looks much better than yours.

If you are using tensorflow >= 2.8, check enable_op_determinism