Padding Sequences Error

Hi,

I wasn’t sure what to put for maxlen and I just used the value in the expected outcome. I got the following error from the grader:
“operands could not be broadcast together with shapes (XXXX,) (Y,)”; I removed the numbers in parentheses, but the XXXX is the number I got from the expected outcome, and Y is an integer <10.
No errors show up on my end.

What could be the issue?

Please click my name and message your notebook as an attachment.

I did the same thing and had the same error. How did you solve it?

Please click my name and message your notebook as an attachment.

The default values for padding and truncating should be used and you should not specify a custom value inside the function def get_padded_sequences(tokenizer, sentences):