code: def init_dataset():
      os.makedirs(BASEDIR, exist_ok=True)
      fetch(
          "https://rajpurkar.github.io/SQuAD-explorer/dataset/dev-v1.1.json",
          BASEDIR / "dev-v1.1.json",
      )
      with open(BASEDIR / "dev-v1.1.json") as f:
          data = json.load(f)["data"]
  
      examples = []
      for article in data:
          for paragraph in article["paragraphs"]:
              text = paragraph["context"]
              doc_tokens = []
              prev_is_whitespace = True
              for c in text:
                  if (
                      c == " "
                      or c == "\t"
                      or c == "\r"
                      or c == "\n"
                      or ord(c) == 0x202F
                  ):
                      prev_is_whitespace = True
                  else:
                      if prev_is_whitespace:
                          doc_tokens.append(c)
                      else:
                          doc_tokens[-1] += c
                      prev_is_whitespace = False
  
              for qa in paragraph["qas"]:
                  qa_id = qa["id"]
                  q_text = qa["question"]
  
                  examples.append(
                      {
                          "id": qa_id,
                          "question": q_text,
                          "context": doc_tokens,
                          "answers": list(
                              map(lambda x: x["text"], qa["answers"])
                          ),
                      }
                  )
      return examples
  
file_path: tinygrad/extra/datasets/squad.py
imports: import json
  import os
  from pathlib import Path
  from transformers import BertTokenizer
  import numpy
  from tinygrad.helpers import fetch
label_desc: Use image node_id 1 for calling a global function with example usage: init_dataset() and returns: examples