class_docstr: DatasetBuilder for natural_instructions dataset.
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      name_to_paths = {
          t_name: f"{_DATASET_DIR}/{t_name}.json"
          for t_name in _NIV2_TASKS_LIST
      }
  
      # Downloads the data and defines the splits
      data_dir = dl_manager.download_and_extract(name_to_paths)
      return {
          tfds.Split.TRAIN: self._generate_examples(path=data_dir),
      }
  
imports: import json
  import tensorflow_datasets.public_api
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: dict