class_docstr: HellaSwag Dataset.
class_docstr_tok: ["HellaSwag","Dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
  
      files = dl_manager.download_and_extract(
          {
              "train": os.path.join(
                  _HELLASWAG_URL, "hellaswag_train.jsonl"
              ),
              "validation": os.path.join(
                  _HELLASWAG_URL, "hellaswag_val.jsonl"
              ),
              "test": os.path.join(
                  _HELLASWAG_URL, "hellaswag_test.jsonl"
              ),
          }
      )
  
      return {
          "train": self._generate_examples(files["train"]),
          "train_activitynet": self._generate_examples(
              files["train"], source="activitynet"
          ),
          "train_wikihow": self._generate_examples(
              files["train"], source="wikihow"
          ),
          "validation": self._generate_examples(files["validation"]),
          "test": self._generate_examples(files["test"]),
          "validation_ind_activitynet": self._generate_examples(
              files["validation"], "IND", "activitynet"
          ),
          "validation_ood_activitynet": self._generate_examples(
              files["validation"], "OOD", "activitynet"
          ),
          "test_ind_activitynet": self._generate_examples(
              files["test"], "IND", "activitynet"
          ),
          "test_ood_activitynet": self._generate_examples(
              files["test"], "OOD", "activitynet"
          ),
          "validation_ind_wikihow": self._generate_examples(
              files["validation"], "IND", "wikihow"
          ),
          "validation_ood_wikihow": self._generate_examples(
              files["validation"], "OOD", "wikihow"
          ),
          "test_ind_wikihow": self._generate_examples(
              files["test"], "IND", "wikihow"
          ),
          "test_ood_wikihow": self._generate_examples(
              files["test"], "OOD", "wikihow"
          ),
      }
  
file_path: datasets/tensorflow_datasets/text/hellaswag.py
imports: from __future__ import annotations
  import json
  import os
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the Hellaswag obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: dict