Certified AI Developer (CAID) Introduction to AI CAID
Quiz 10 Question 8 of 20

When training a Transformer-based model like BERT, inputs are padded to ensure all sequences within a training batch have the same length. What is the function of the "attention mask" during the forward pass?

Select an answer to reveal the explanation.