class_docstr: DatasetBuilder for gsm8k dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, path: str):
      """Yields examples."""
      with epath.Path(path).open() as f:
          for i, line in enumerate(f):
              ex = json.loads(line)
              ex["annotation"], ex["short_answer"] = ex["answer"].split(
                  "#### "
              )
              yield i, ex
  
file_path: datasets/tensorflow_datasets/text/gsm8k/gsm8k.py
imports: import json
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Gsm8k obj's underlying member method code with example usage: obj._generate_examples(path) without return types