code: def _create_checkpoint_file(self, path):
      model_folder = self._get_model_folder()
      model_file = os.path.join(model_folder, "model.pth")
      config_file = os.path.join(model_folder, "config.yaml")
      config = load_yaml(config_file)
      with PathManager.open(model_file, "rb") as f:
          ckpt = torch.load(f)
      ckpt["config"] = config
      torch.save(ckpt, path)
  
imports: import os
  import shutil
  import tempfile
  import unittest
  from pathlib import Path
  import numpy
  import tests.test_utils
  import torch
  from mmf.models.mmbt import MMBT
  from mmf.modules.hf_layers import undo_replace_with_jit
  from mmf.utils.configuration import get_mmf_env, load_yaml
  from mmf.utils.file_io import PathManager
  from mmf.utils.general import get_current_device
label_desc: Use image node_id 5 for calling the TestModelInterfaces obj's underlying member method code with example usage: obj._create_checkpoint_file(path) without return types