src/transformers/models/tapas/tokenization_tapas.py/TapasTokenizer/create_attention_mask_from_sequences
class TapasTokenizer:    def create_attention_mask_from_sequences(self, query_ids: List[int], table_values: List[TableValue]) -> List[int]:
        """
        Creates the attention mask according to the query token IDs and a list of table values.

        Args:
            query_ids (:obj:`List[int]`): list of token IDs corresponding to the ID.
            table_values (:obj:`List[TableValue]`): lift of table values, which are named tuples containing the
                token value, the column ID and the row ID of said token.

        Returns:
            :obj:`List[int]`: List of ints containing the attention mask values.
        """
        return [1] * (1 + len(query_ids) + 1 + len(table_values))