class_docstr: DatasetBuilder for media_sum dataset.
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      archive = {
          "samples": dl_manager.manual_dir / "news_dialogue.json",
          "splits_ids": dl_manager.manual_dir
          / "train_val_test_split.json",
      }
  
      splits_ids = self._load_json_file(archive["splits_ids"])
      raw_samples = self._load_json_file(archive["samples"])
  
      return {
          "train": self._generate_examples(
              split_ids=splits_ids["train"], raw_samples=raw_samples
          ),
          "val": self._generate_examples(
              split_ids=splits_ids["val"], raw_samples=raw_samples
          ),
          "test": self._generate_examples(
              split_ids=splits_ids["test"], raw_samples=raw_samples
          ),
      }
  
file_path: datasets/tensorflow_datasets/datasets/media_sum/media_sum_dataset_builder.py
imports: import json
  from typing import List
  from etils import epath
  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