src/transformers/models/markuplm/tokenization_markuplm.py/MarkupLMTokenizer/build_xpath_tags_with_special_tokens
class MarkupLMTokenizer:    def build_xpath_tags_with_special_tokens(
        self, xpath_tags_0: List[int], xpath_tags_1: Optional[List[int]] = None
    ) -> List[int]:
        pad = [self.pad_xpath_tags_seq]
        if len(xpath_tags_1) == 0:
            return pad + xpath_tags_0 + pad
        return pad + xpath_tags_0 + pad + xpath_tags_1 + pad