code: def test_sequence_builders(self):
      tokenizer = XLMTokenizer.from_pretrained("xlm-mlm-en-2048")
  
      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 == [0] + text + [1]
      assert encoded_pair == [0] + text + [1] + text_2 + [1]
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/tests/models/xlm/test_tokenization_xlm.py
imports: import json
  import os
  import unittest
  from transformers.models.xlm.tokenization_xlm import VOCAB_FILES_NAMES, XLMTokenizer
  from transformers.testing_utils import slow
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 4 for calling the XLMTokenizationTest obj's underlying member method code with example usage: obj.test_sequence_builders() without return types