class_docstr: DatasetBuilder for story_cloze dataset.
class_docstr_tok: ["DatasetBuilder","for","story_cloze","dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      if self.builder_config.name == "2016":
          file_postfix = "spring2016"
      elif self.builder_config.name == "2018":
          file_postfix = "winter2018"
  
      val_file = "cloze_test_val__" + file_postfix + ".csv"
      test_file = "cloze_test_test__" + file_postfix + ".csv"
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={
                  "filepath": os.path.join(
                      dl_manager.manual_dir, val_file
                  )
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs={
                  "filepath": os.path.join(
                      dl_manager.manual_dir, test_file
                  )
              },
          ),
      ]
  
file_path: datasets/tensorflow_datasets/datasets/story_cloze/story_cloze_dataset_builder.py
imports: from __future__ import annotations
  import csv
  import os
  from etils import epath
  import numpy
  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: list