class_docstr: SQUAD: The Stanford Question Answering Dataset.
class_docstr_tok: ["SQUAD",":","The","Stanford","Question","Answering","Dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      urls_to_download = {
          "train": os.path.join(_URL, self.builder_config.train_file),
          "dev": os.path.join(_URL, self.builder_config.dev_file),
      }
      downloaded_files = dl_manager.download_and_extract(
          urls_to_download
      )
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={"filepath": downloaded_files["train"]},
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={"filepath": downloaded_files["dev"]},
          ),
      ]
  
file_path: datasets/tensorflow_datasets/datasets/squad/squad_dataset_builder.py
imports: from __future__ import annotations
  import json
  import os
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
  from tensorflow_datasets.question_answering import qa_utils
label_desc: Use image node_id 2 for calling the Builder obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list