code: def download(name, root_path=default_root_path):
      if not os.path.exists(os.path.join(root_path, "benchmark")):
          os.mkdir(os.path.join(root_path, "benchmark"))
      if not os.path.exists(os.path.join(root_path, "pretrain")):
          os.mkdir(os.path.join(root_path, "pretrain"))
      if name == "nyt10":
          download_nyt10(root_path=root_path)
      elif name == "nyt10m":
          download_nyt10m(root_path=root_path)
      elif name == "wiki20m":
          download_wiki20m(root_path=root_path)
      elif name == "wiki_distant":
          download_wiki_distant(root_path=root_path)
      elif name == "semeval":
          download_semeval(root_path=root_path)
      elif name == "wiki80":
          download_wiki80(root_path=root_path)
      elif name == "tacred":
          download_tacred(root_path=root_path)
      elif name == "glove":
          download_glove(root_path=root_path)
      elif name == "bert_base_uncased":
          download_bert_base_uncased(root_path=root_path)
      else:
          raise Exception("Cannot find corresponding data.")
  
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 12 for calling a global function with example usage: download(name, root_path) without return types