code: def do_copy(OUTPUT_NAME):
      dest_file = os.path.join(OUTPUT_NAME, "h2oai_pipeline.py")
      shutil.copyfile("src/h2oai_pipeline.py", dest_file)
      os.system("""sed -i 's/from enums.*//g' %s""" % dest_file)
      os.system("""sed -i 's/from stopping.*//g' %s""" % dest_file)
      os.system("""sed -i 's/from prompter.*//g' %s""" % dest_file)
      os.system(
          """cat %s|grep -v "from enums import PromptType" >> %s"""
          % ("src/enums.py", dest_file)
      )
      os.system(
          """cat %s|grep -v "from enums import PromptType" >> %s"""
          % ("src/prompter.py", dest_file)
      )
      os.system(
          """cat %s|grep -v "from enums import PromptType" >> %s"""
          % ("src/stopping.py", dest_file)
      )
  
file_path: h2ogpt/src/export_hf_checkpoint.py
imports: import os
  import json
  import shutil
  import subprocess
  import torch
  from accelerate import infer_auto_device_map, dispatch_model
  from accelerate.utils import get_balanced_memory
  from peft import PeftModel
  from transformers import PreTrainedModel
label_desc: Use image node_id 2 for calling a global function with example usage: do_copy(OUTPUT_NAME) without return types