code: def test_fast_encode_decode(self):
      tokenizer = GPTSw3Tokenizer(SAMPLE_VOCAB)
      texts = [
          "This is a test",
          "I was born in 92000, and this is falsé.",
      ]
      expected_ids_list = [
          [465, 287, 265, 631, 842],
          [
              262,
              272,
              1525,
              286,
              271,
              268,
              60,
              916,
              633,
              633,
              633,
              259,
              266,
              301,
              287,
              384,
              367,
              263,
              198,
              172,
              260,
          ],
      ]
  
      # Test that encode_fast returns the same as tokenize + convert_tokens_to_ids
      for text, expected_ids in zip(texts, expected_ids_list):
          self.assertListEqual(
              tokenizer.encode_fast(text), expected_ids
          )
  
      # Test that decode_fast returns the input text
      for text, token_ids in zip(texts, expected_ids_list):
          self.assertEqual(tokenizer.decode_fast(token_ids), text)
  
file_path: transformers/tests/models/gpt_sw3/test_tokenization_gpt_sw3.py
imports: import unittest
  from transformers import GPTSw3Tokenizer
  from transformers.testing_utils import get_tests_dir, require_jinja, require_sentencepiece, require_tokenizers, slow
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 7 for calling the GPTSw3TokenizationTest obj's underlying member method code with example usage: obj.test_fast_encode_decode() without return types