class_docstr: DatasetBuilder for assin2 dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, path):
      """Yields examples."""
      with epath.Path(path).open() as f:
          pairs = parse_xml_string(f.read())
  
      for pair in pairs:
          yield pair.id, {
              "text": pair.text,
              "hypothesis": pair.hypothesis,
              "id": pair.id,
              "entailment": pair.entailment,
              "similarity": pair.similarity,
          }
  
file_path: datasets/tensorflow_datasets/datasets/assin2/assin2_dataset_builder.py
imports: from etils import epath
  import numpy
  from tensorflow_datasets.datasets.assin2.assin2_utils import parse_xml_string
  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