class_docstr: CoS-E: Common Sense Explanations corpus.
docstr: Returns SplitGenerators.
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
  
      # NB: The CQA Dataset should be read only once, and only by callers who
      # want to _create_ the Cos-E dataset from scratch.
      cqa_indexed = _download_and_index_cqa(dl_manager)
  
      files = dl_manager.download_and_extract(
          {
              "dev": [
                  os.path.join(
                      _COS_E_URL,
                      "v1.11/dev/cose_dev_v1.11_processed.jsonl",
                  )
              ],
              "train": [
                  os.path.join(
                      _COS_E_URL,
                      "v1.11/train/cose_train_v1.11_processed.jsonl",
                  )
              ],
          }
      )
  
      # We use the CoS-E/CQA dev set as our validation set.
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={
                  "files": files["dev"],
                  "cqa_indexed": cqa_indexed,
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={
                  "files": files["train"],
                  "cqa_indexed": cqa_indexed,
              },
          ),
      ]
  
file_path: datasets/tensorflow_datasets/text/cos_e.py
imports: import json
  import os
  from etils import epath
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the CosE obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list