code: def parameterized_custom_name_func(func, param_num, param):
      # customize the test name generator function as we want both params to appear in the sub-test
      # name, as by default it shows only the first param
      param_based_name = parameterized.to_safe_name(
          "_".join(str(x) for x in param.args)
      )
      return f"{func.__name__}_{param_based_name}"
  
file_path: transformers/tests/deepspeed/test_model_zoo.py
imports: import itertools
  import os
  import subprocess
  from os.path import dirname
  from parameterized import parameterized
  from tests.trainer.test_trainer import TrainerIntegrationCommon
  from transformers import is_torch_available
  from transformers.testing_utils import TestCasePlus, execute_subprocess_async, get_gpu_count, get_tests_dir, require_deepspeed, require_torch_gpu, slow
  from transformers.trainer_utils import set_seed
label_desc: Use image node_id 3 for calling a global function with example usage: parameterized_custom_name_func(func, param_num, param) and returns: func, str, param_based_name