code: def setUp(self):
      super().setUp()
  
      vocab = "<s> <pad> </s> <unk> here@@ a couple of@@ words for the he@@ re@@ vocab".split(
          " "
      )
      merges = ["he re</w> 123", "here a 1456"]
      vocab_tokens = dict(zip(vocab, range(len(vocab))))
  
      self.special_tokens_map = {
          "pad_token": "<pad>",
          "unk_token": "<unk>",
          "bos_token": "<s>",
          "eos_token": "</s>",
      }
  
      self.tmpdirname = tempfile.mkdtemp()
      self.vocab_file = os.path.join(
          self.tmpdirname, VOCAB_FILES_NAMES["vocab_file"]
      )
      self.merges_file = os.path.join(
          self.tmpdirname, VOCAB_FILES_NAMES["merges_file"]
      )
  
      with open(self.vocab_file, "w", encoding="utf-8") as fp:
          fp.write(json.dumps(vocab_tokens) + "\n")
  
      with open(self.merges_file, "w") as fp:
          fp.write("\n".join(merges))
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/tests/models/speech_to_text_2/test_tokenization_speech_to_text_2.py
imports: import inspect
  import json
  import os
  import tempfile
  import unittest
  from transformers.models.speech_to_text_2 import Speech2Text2Tokenizer
  from transformers.models.speech_to_text_2.tokenization_speech_to_text_2 import VOCAB_FILES_NAMES
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 1 for calling the SpeechToTextTokenizerTest obj's underlying member method code with example usage: obj.setUp() without return types