src/transformers/models/layoutlmv3/tokenization_layoutlmv3_fast.py/LayoutLMv3TokenizerFast/tokenize
class LayoutLMv3TokenizerFast:    def tokenize(self, text: str, pair: Optional[str] = None, add_special_tokens: bool = False, **kwargs) -> List[str]:
        batched_input = [(text, pair)] if pair else [text]
        encodings = self._tokenizer.encode_batch(
            batched_input, add_special_tokens=add_special_tokens, is_pretokenized=False, **kwargs
        )

        return encodings[0].tokens