The documentation page MODEL_DOC/#TRANSFORMERS.KOSMOS2MODEL.FORWARD.ATTENTION_MASK doesn’t exist in v4.45.1, but exists on the main version. Click here to redirect to the main version of the documentation.