C5 W4 - Transformer Error

Hi all

I finished the assignment and got “All tests passed”, except for UNQ_C5. There I have the following error message:
AssertionError: Wrong values case 3

I think it may be because of incorrect implementation of positional_encoding function, but I passed all tests on that and also it is used in UNQ_C7 and I pass that too.

Can you please help me with this error?

Thank you in advance!

Sincerely,
Arman

Hi @TMosh and @Kic,

Paul Mielke told me that you can help me with error in the last assignment of Sequence Models Course. This is my last assignment to finish the whole specialization.
Could you please help me with this.

Thank you in advance!
Arman

Hi @MkhitarA ,

Could you post that section of the code to me via DM, I will have a look for you.

Hi @MkhitarA ,

I have the same error, did you find the solution?

Thanks in advance!