code: def download_winogrande_data_and_write_config(
      task_name: str, task_data_path: str, task_config_path: str
  ):
      os.makedirs(task_data_path, exist_ok=True)
      download_utils.download_and_unzip(
          "https://storage.googleapis.com/ai2-mosaic/public/winogrande/winogrande_1.1.zip",
          task_data_path,
      )
  
      task_data_path = os.path.join(task_data_path, "winogrande_1.1")
  
      py_io.write_json(
          data={
              "task": task_name,
              "paths": {
                  "train": os.path.join(
                      task_data_path, "train_xl.jsonl"
                  ),
                  "train_labels": os.path.join(
                      task_data_path, "train_xl-labels.lst"
                  ),
                  "train_xs": os.path.join(
                      task_data_path, "train_xs.jsonl"
                  ),
                  "train_xs_labels": os.path.join(
                      task_data_path, "train_xs-labels.lst"
                  ),
                  "train_s": os.path.join(
                      task_data_path, "train_s.jsonl"
                  ),
                  "train_s_labels": os.path.join(
                      task_data_path, "train_s-labels.lst"
                  ),
                  "train_m": os.path.join(
                      task_data_path, "train_m.jsonl"
                  ),
                  "train_m_labels": os.path.join(
                      task_data_path, "train_m-labels.lst"
                  ),
                  "train_l": os.path.join(
                      task_data_path, "train_l.jsonl"
                  ),
                  "train_l_labels": os.path.join(
                      task_data_path, "train_l-labels.lst"
                  ),
                  "train_xl": os.path.join(
                      task_data_path, "train_xl.jsonl"
                  ),
                  "train_xl_labels": os.path.join(
                      task_data_path, "train_xl-labels.lst"
                  ),
                  "val": os.path.join(task_data_path, "dev.jsonl"),
                  "val_labels": os.path.join(
                      task_data_path, "dev-labels.lst"
                  ),
                  "test": os.path.join(task_data_path, "test.jsonl"),
              },
              "name": task_name,
          },
          path=task_config_path,
      )
  
imports: import json
  import logging
  import os
  import pandas
  import re
  import shutil
  import tarfile
  from operator import itemgetter
  from collections import Counter
  import jiant.scripts.download_data.utils
  import jiant.utils.display
  import jiant.utils.python.filesystem
  import jiant.utils.python.io
  from jiant.scripts.download_data.constants import SQUAD_TASKS, DIRECT_SUPERGLUE_TASKS_TO_DATA_URLS
label_desc: Use image node_id 18 for calling a global function with example usage: download_winogrande_data_and_write_config(task_name, task_data_path, task_config_path) without return types