I passed the question 6,but why code does not work on the last three cells? Anybody has an idea on the error?

I passed the question 6,but why code does not work on the last three cells? Anybody has an idea on the error?

Hi @Amazing_Patrick

As you know, tests do not capture all the possible mistakes.

The suggested underlying problem is shape mismatch, more concretely your inputs do match the expected batch size (16 vs 1). I would advise to look at your Exercise 6 implementation, it could be this line:
# Add batch dimension to array. Convert from (n,) to (1, n)
It could be other things (do you use ReformerLM variable for model inside # UNQ_C6?, etc) but the thing to check (track) for, is your input/output dimensions.

1 Like

Thank you so much! @arvyzukai
I figured it out!!! Now I passed all assignment and got the certificate!!!

1 Like

Congrats! @Amazing_Patrick I’m glad you made it :partying_face:

Wishing you the best of luck as you continue your ongoing journey in Natural Language Processing and Deep Learning :+1:

1 Like