code: def test_sequence_builders(self):
      tokenizer = XLNetTokenizer.from_pretrained("xlnet-base-cased")
  
      text = tokenizer.encode(
          "sequence builders", add_special_tokens=False
      )
      text_2 = tokenizer.encode(
          "multi-sequence build", add_special_tokens=False
      )
  
      encoded_sentence = tokenizer.build_inputs_with_special_tokens(
          text
      )
      encoded_pair = tokenizer.build_inputs_with_special_tokens(
          text, text_2
      )
  
      assert encoded_sentence == text + [4, 3]
      assert encoded_pair == text + [4] + text_2 + [4, 3]
  
file_path: transformers/tests/models/xlnet/test_tokenization_xlnet.py
imports: import unittest
  from transformers import SPIECE_UNDERLINE, XLNetTokenizer, XLNetTokenizerFast
  from transformers.testing_utils import get_tests_dir, require_sentencepiece, require_tokenizers, slow
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 8 for calling the XLNetTokenizationTest obj's underlying member method code with example usage: obj.test_sequence_builders() without return types