code: def preprocess_all_glue_data(
      input_base_path, output_base_path, task_name_ls=None
  ):
      if task_name_ls is None:
          task_name_ls = GLUE_CONVERSION.keys()
      os.makedirs(output_base_path, exist_ok=True)
      os.makedirs(os.path.join(output_base_path, "data"), exist_ok=True)
      os.makedirs(
          os.path.join(output_base_path, "configs"), exist_ok=True
      )
      for task_name in tqdm.tqdm(task_name_ls):
          task_data_path = os.path.join(
              output_base_path, "data", task_name
          )
          paths_dict = convert_glue_data(
              input_base_path=input_base_path,
              task_data_path=task_data_path,
              task_name=task_name,
          )
          config = {
              "task": task_name,
              "paths": paths_dict,
              "name": task_name,
          }
          py_io.write_json(
              data=config,
              path=os.path.join(
                  output_base_path, "configs", f"{task_name}.json"
              ),
          )
  
file_path: jiant/jiant/scripts/preproc/export_glue_data.py
imports: import csv
  import os
  import tqdm
  import jiant.utils.python.io
  import jiant.utils.zconf
label_desc: Use image node_id 4 for calling a global function with example usage: preprocess_all_glue_data(input_base_path, output_base_path, task_name_ls) without return types