class_docstr: ANLI: Adversarial NLI corpus.
docstr: Yields examples.
code: def _generate_examples(self, filepath):
      """Yields examples."""
      with epath.Path(filepath).open() as f:
          for line in f:
              element = json.loads(line)
              yield element["uid"], {
                  "uid": element["uid"],
                  "context": element["context"],
                  "hypothesis": element["hypothesis"],
                  "label": element["label"],
              }
  
file_path: datasets/tensorflow_datasets/datasets/anli/anli_dataset_builder.py
imports: import json
  import os
  from etils import epath
  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(filepath) without return types