class_docstr: Teacher for the SummaryQA dataset.
code: def setup_data(self, path):
      print("loading: " + path)
      with PathManager.open(path) as data_file:
          self.episodes = json.load(data_file)
      for ex in self.episodes:
          episode_done = ex.pop("episode_done")
          yield ex, episode_done
  
file_path: ParlAI/projects/k2r/lightqa/task/agents.py
imports: import json
  import os
  from parlai.core.teachers import DialogTeacher
  from parlai.utils.io import PathManager
  from parlai.core.message import Message
  from parlai.core.metrics import F1Metric, normalize_answer, AverageMetric
  from .build import build
label_desc: Use image node_id 2 for calling the SummaryQATeacher obj's underlying member method code with example usage: obj.setup_data(path) without return types