class_docstr: DatasetBuilder for race dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, path):
      """Yields examples."""
  
      for file in path.iterdir():
          # Each file is one example and only has one line of the content.
          row = json.loads(file.read_text())
          yield row["id"], {
              "article": row["article"],
              "questions": row["questions"],
              "answers": row["answers"],
              "options": row["options"],
              "example_id": row["id"],
          }
  
imports: import json
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj._generate_examples(path) without return types