code: def find_replace(target, replace_dict):
      if isinstance(target, dict):
          for key, value in target.items():
              if isinstance(value, str):
                  target[key] = find_replace_str(value, replace_dict)
              if isinstance(value, list):
                  for i in range(len(value)):
                      value[i] = find_replace_str(
                          value[i], replace_dict
                      )
              if isinstance(value, dict):
                  find_replace(value, replace_dict)
      elif isinstance(target, list):
          for i in range(len(target)):
              target[i] = str(find_replace_str(target[i], replace_dict))
  
imports: import re
  import collections.abc
  import os
  import json
  from deepspeed.runtime.constants import GRADIENT_ACCUMULATION_STEPS, TRAIN_MICRO_BATCH_SIZE_PER_GPU
  import itertools
  import copy
  from ..utils import logger
label_desc: Use image node_id 4 for calling a global function with example usage: find_replace(target, replace_dict) without return types