C5_W4_A1_Transformer_Subclass_v1 failed to grade

Exercise 8

Filename: Exercise 8

25/100Score: 25 of 100

Hide grader output

Grader output

Code Cell UNQ_C1: Function ‘get_angles’ is correct.
Code Cell UNQ_C2: Function ‘positional_encoding’ is correct.
cell_UNQ_C3 function scaled_dot_product_attention failed test 2(with mask)
cell_UNQ_C4 function EncoderLayer.call failed test 1
cell_UNQ_C5 function Encoder.call failed test 1
cell_UNQ_C6 function DecoderLayer failed test 1
cell_UNQ_C7 function Decoder.call failed test 1
cell_UNQ_C8 function Transformer.call failed test 1
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.

I’ve updated my notebook several times. I spent almost two days most of the time. Still getting this issue. Can’t resolve. Please help. All cell run correctly. Still showing this output.

It appears there is an error in your scaled_dot_product_attention() function.
Did it pass all the tests in the notebook?

Perhaps there is an error in your code that the unit tests did not detect.

Hi Mosh, I am also getting a similar error , this is the last assignment, and am not able to understand what’s going wrong … could you help me with this (will be happy to share code with you to see if there is something that needs to be done)

@TMosh let me know if you require more information regarding the above comment