class_docstr: HEAD-QA: A Healthcare Dataset for Complex Reasoning
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      data_dir = dl_manager.download_and_extract(_URL)
  
      dir = _DIRS[self.config.name]
      data_lang_dir = os.path.join(data_dir, dir)
  
      return [
          datasets.SplitGenerator(
              name=datasets.Split.TRAIN,
              gen_kwargs={
                  "data_dir": data_dir,
                  "filepath": os.path.join(
                      data_lang_dir, f"train_{dir}.json"
                  ),
              },
          ),
          datasets.SplitGenerator(
              name=datasets.Split.TEST,
              gen_kwargs={
                  "data_dir": data_dir,
                  "filepath": os.path.join(
                      data_lang_dir, f"test_{dir}.json"
                  ),
              },
          ),
          datasets.SplitGenerator(
              name=datasets.Split.VALIDATION,
              gen_kwargs={
                  "data_dir": data_dir,
                  "filepath": os.path.join(
                      data_lang_dir, f"dev_{dir}.json"
                  ),
              },
          ),
      ]
  
file_path: lm-evaluation-harness/lm_eval/datasets/headqa/headqa.py
imports: import json
  import os
  import datasets
label_desc: Use image node_id 2 for calling the HeadQA obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list