code: def convert_dialogpt_checkpoint(
      checkpoint_path: str, pytorch_dump_folder_path: str
  ):
      d = torch.load(checkpoint_path)
      d[NEW_KEY] = d.pop(OLD_KEY)
      os.makedirs(pytorch_dump_folder_path, exist_ok=True)
      torch.save(
          d, os.path.join(pytorch_dump_folder_path, WEIGHTS_NAME)
      )
  
imports: import argparse
  import os
  import torch
  from transformers.utils import WEIGHTS_NAME
label_desc: Use image node_id 1 for calling a global function with example usage: convert_dialogpt_checkpoint(checkpoint_path, pytorch_dump_folder_path) without return types