class_docstr: OneCommon teacher that loads the data from https://github.com/Alab-NII/Reference-
  Resolution.
class_docstr_tok: ["OneCommon","teacher","that","loads","the","data","from","https",":","\/\/github.com\/Alab-NII\/Reference-","Resolution","."]
code: def __init__(self, opt, shared=None):
      super().__init__(opt, shared)
      self.datatype = opt["datatype"].split(":")[0]
      build(opt)
  
      data_path = os.path.join(
          opt["datapath"],
          "onecommon",
          "onecommon-1.0",
          "aaai2020",
          "experiments",
          "data",
          "onecommon",
          self.datatype + "_reference_0.txt",
      )
  
      if shared and "episodes" in shared:
          self.episodes = shared["episodes"]
      else:
          self._setup_data(data_path)
  
      self.expected = {}
  
      self.reset()
  
file_path: ParlAI/parlai/tasks/onecommon/agents.py
imports: from parlai.core.teachers import FixedDialogTeacher
  from parlai.utils.io import PathManager
  from .build import build
  import os
label_desc: Use image node_id 1 to create a new OneCommonTeacher object from inherited base classes: FixedDialogTeacher with example: obj = OneCommonTeacher(opt, shared)