code: def convert_glue_data(input_base_path, task_data_path, task_name):
      os.makedirs(task_data_path, exist_ok=True)
      task_all_examples = get_full_examples(
          task_name=task_name, input_base_path=input_base_path
      )
      paths_dict = {}
      for phase, phase_data in task_all_examples.items():
          phase_data_path = os.path.join(
              task_data_path, f"{phase}.jsonl"
          )
          py_io.write_jsonl(
              data=phase_data,
              path=phase_data_path,
          )
          paths_dict[phase] = phase_data_path
      return paths_dict
  
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 3 for calling a global function with example usage: convert_glue_data(input_base_path, task_data_path, task_name) and returns: paths_dict