class_docstr: e-SNLI: Natural Language Inference with Natural Language Explanations corpus.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, files):
      """Yields examples."""
      for filepath in files:
          with epath.Path(filepath).open() as f:
              reader = csv.DictReader(f)
              for _, row in enumerate(reader):
                  yield row["pairID"], {
                      "premise": row["Sentence1"],
                      "hypothesis": row["Sentence2"],
                      "label": row["gold_label"],
                      "explanation_1": row["Explanation_1"],
                      "explanation_2": row.get("Explanation_2", ""),
                      "explanation_3": row.get("Explanation_3", ""),
                  }
  
file_path: datasets/tensorflow_datasets/text/esnli.py
imports: import csv
  import os
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Esnli obj's underlying member method code with example usage: obj._generate_examples(files) without return types