I passed the question 6,but why code does not work on the last three cells? Anybody has an idea on the error?
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.
Thank you so much! @arvyzukai
I figured it out!!! Now I passed all assignment and got the certificate!!!
Congrats! @Amazing_Patrick I’m glad you made it
Wishing you the best of luck as you continue your ongoing journey in Natural Language Processing and Deep Learning