and here’s the grader error message: There was an error grading your submission. Details:
in user code:
File "/grader/transformer_utils.py", line 547, in create_padding_mask *
seq = 1 - tf.cast(tf.math.equal(decoder_token_ids, 0), tf.float32)
TypeError: Failed to convert elements of <transformer_utils.Transformer object at 0x7faaaf643a90> to Tensor. Consider casting elements to a supported type. See https://www.tensorflow.org/api_docs/python/tf/dtypes for supported TF dtypes.
Did you pass the below test cell?
Test your implementation!
w3_unittest.test_tokenize_and_mask(tokenize_and_mask)
Mention the assignment name as the course was updated and now has only 3 weeks, seems like your issue is with week2 assignment and you have stated it as week 3
Also kindly make sure you have updated the lab before starting the assignment as these courses were recently updated.
i’m doing this assignement C4W3_Assignment so it’s week 3 for me. And yes the course contains only 3 weeks. Maybe all my issues are with the update. Can you please tell me how to update the lab ?
Your next word has incorrect codes but I also feel your issue related to idx, so please go back and check if all of test cells match with the expected output
Kindly DM your codes for the grader cell you are having issue. You can share a screenshot. Click on my name and then message. Also always create a new topic for your own issue even if you find similar thread as the error for your issue might be different from the post creator here.