class_docstr: AdversarialQA. Version 1.0.0.
docstr: This function returns the examples in the raw (text) form.
docstr_tok: ["This","function","returns","the","examples","in","the","raw","(","text",")","form","."]
code: def _generate_examples(self, num_vals):
      """This function returns the examples in the raw (text) form."""
      # Path is mocked
      assert isinstance(
          Path("some_path/"), tfds.core.Path
      )  # pylint: disable=protected-access
      for i in range(num_vals):
          yield i, {
              "id": str(i),
              "vals": [i, i],
              "answers": {
                  "text": ["some text", "some text2"],
              },
          }
  
file_path: datasets/tensorflow_datasets/testing/huggingface/dummy_dataset.py
imports: from pathlib import Path
  import datasets
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the HFDataset obj's underlying member method code with example usage: obj._generate_examples(num_vals) without return types