code: def download_pretrain(model_name, root_path=default_root_path):
      ckpt = os.path.join(
          root_path, "pretrain/nre/" + model_name + ".pth.tar"
      )
      if not os.path.exists(ckpt):
          os.system(
              "wget -P "
              + os.path.join(root_path, "pretrain/nre")
              + " "
              + root_url
              + "opennre/pretrain/nre/"
              + model_name
              + ".pth.tar"
          )
  
imports: from .None import encoder
  from .None import model
  from .None import framework
  import torch
  import os
  import sys
  import json
  import numpy
  import logging
label_desc: Use image node_id 11 for calling a global function with example usage: download_pretrain(model_name, root_path) without return types