W3A1 Bad Model Output

Hi there,

I just finished doing the 1st assignment for week 3 of course 5. My notebook passed all of the tests, and I even got a 100/100 after submitting - but the outputs from my model seem clearly wrong (this is after loading the weights from the pre-trained model).

It just output a sequence of ‘1’ and then ‘2’ after the first example. The attention map from the end of the assignment looks weird too.

I’m not sure if I did something wrong or if there’s something off about the assignment.

1 Like

The last time I ran that notebook, I got these results:

1 Like

Note that the only graded parts of the notebook are:

  • one_step_attention()
  • modelf()

Any errors in code you add to other parts of the notebook will not affect your grade.

1 Like