class_docstr: Abstract data loader.
class_docstr_tok: ["Abstract","data","loader","."]
code: def __init__(self, opt: Opt, shared=None):
      self.fold = DatatypeHelper.fold(opt["datatype"])
      opt["datafile"] = self.fold
      self.dpath = os.path.join(opt["datapath"], "taskmaster-2")
      if shared is None:
          warn_once(
              "Taskmaster2 is a beta dataset, and format may significantly change."
          )
          build_.build(opt)
      super().__init__(opt, shared)
  
imports: from parlai.core.params import ParlaiParser
  import os
  import pandas
  from collections import Counter
  from parlai.core.opt import Opt
  import parlai.core.tod.tod_core
  from parlai.utils.misc import warn_once
  import json
  from typing import Optional
  from parlai.utils.data import DatatypeHelper
  from parlai.utils.io import PathManager
  import parlai.tasks.taskmaster2.build
  import parlai.core.tod.tod_agents
label_desc: Use image node_id 2 to create a new Taskmaster2Parser object from inherited base classes: tod_agents with example: obj = Taskmaster2Parser(opt, shared)