C5 W4 UNQ_C8 Wrong values in translation

Getting error i cannot trace :slight_smile:


AssertionError Traceback (most recent call last)
in
1 # UNIT TEST
----> 2 Transformer_test(Transformer, create_look_ahead_mask, create_padding_mask)

~/work/W4A1/public_tests.py in Transformer_test(target, create_look_ahead_mask, create_padding_mask)
286 assert np.allclose(translation[0, 0, 0:8],
287 [0.017416516, 0.030932948, 0.024302809, 0.01997807,
→ 288 0.014861834, 0.034384135, 0.054789476, 0.032087505]), “Wrong values in translation”
289
290 keys = list(weights.keys())

AssertionError: Wrong values in translation

Hi YKom,

Apologies for the belated reply. If you have not been able to resolve this issue, feel free to send me a direct mail with your notebook as an attachment so I can have a look at what’s going on.