I understand that padding enables batching data points together, but too many padding tokens make the computations very slow (?). What is the attention_mask for? If I understand correctly, it masks the padding tokens so that the model does not pay attention to it - but do padding tokens then still slow down the training if they are masked? I haven’t fully understood the purpose of padding and attention_masks and the impact on speed.