class_docstr: Teacher for the SummaryQA dataset.
code: def __init__(self, opt, shared=None):
      self.datatype = opt["datatype"].split(":")[0]
      build(opt)
      opt["datafile"] = os.path.join(
          opt["datapath"],
          f"lightqa/lightqa-wild-summaryqa2-{self.datatype}.json",
      )
      self.id = "summaryqa"
      super().__init__(opt, shared)
  
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 1 to create a new SummaryQATeacher object from inherited base classes: DialogTeacher with example: obj = SummaryQATeacher(opt, shared)