code: def download_xtreme_data_and_write_config(
      task_name: str,
      task_data_base_path: str,
      task_config_base_path: str,
  ):
      if task_name == "xnli":
          download_xnli_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      elif task_name == "pawsx":
          download_pawsx_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      elif task_name == "udpos":
          download_udpos_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      elif task_name == "panx":
          download_panx_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      elif task_name == "xquad":
          download_xquad_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      elif task_name == "mlqa":
          download_mlqa_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      elif task_name == "tydiqa":
          download_tydiqa_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      elif task_name == "bucc2018":
          download_bucc2018_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      elif task_name == "tatoeba":
          download_tatoeba_data_and_write_config(
              task_data_base_path=task_data_base_path,
              task_config_base_path=task_config_base_path,
          )
      else:
          raise KeyError(task_name)
  
imports: import copy
  import glob
  import itertools
  import os
  import shutil
  from pathlib import Path
  import jiant.scripts.download_data.utils
  import jiant.utils.display
  import jiant.utils.python.datastructures
  import jiant.utils.python.io
  import jiant.utils.python.filesystem
  import jiant.utils.python.strings
label_desc: Use image node_id 10 for calling a global function with example usage: download_xtreme_data_and_write_config(task_name, task_data_base_path, task_config_base_path) without return types