code: def download_mlqa_data_and_write_config(
      task_data_base_path: str, task_config_base_path: str
  ):
      mlqa_temp_path = py_io.create_dir(
          task_data_base_path, "mlqa_temp"
      )
      download_utils.download_and_unzip(
          "https://dl.fbaipublicfiles.com/MLQA/MLQA_V1.zip",
          mlqa_temp_path,
      )
      languages = "ar de en es hi vi zh".split()
      for lang1, lang2 in itertools.product(languages, languages):
          task_name = f"mlqa_{lang1}_{lang2}"
          task_data_path = py_io.create_dir(
              task_data_base_path, task_name
          )
          val_path = os.path.join(
              task_data_path,
              f"dev-context-{lang1}-question-{lang2}.json",
          )
          os.rename(
              src=os.path.join(
                  mlqa_temp_path,
                  "MLQA_V1",
                  "dev",
                  f"dev-context-{lang1}-question-{lang2}.json",
              ),
              dst=val_path,
          )
          test_path = os.path.join(
              task_data_path,
              f"test-context-{lang1}-question-{lang2}.json",
          )
          os.rename(
              src=os.path.join(
                  mlqa_temp_path,
                  "MLQA_V1",
                  "test",
                  f"test-context-{lang1}-question-{lang2}.json",
              ),
              dst=test_path,
          )
          py_io.write_json(
              data={
                  "task": "mlqa",
                  "paths": {"val": val_path, "test": test_path},
                  "kwargs": {
                      "context_language": lang1,
                      "question_language": lang2,
                  },
                  "name": task_name,
              },
              path=os.path.join(
                  task_config_base_path, f"{task_name}_config.json"
              ),
          )
      shutil.rmtree(mlqa_temp_path)
  
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 6 for calling a global function with example usage: download_mlqa_data_and_write_config(task_data_base_path, task_config_base_path) without return types