class_docstr: Image Chat gender.
class_docstr_tok: ["Image","Chat","gender","."]
docstr: Get data file.
docstr_tok: ["Get","data","file","."]
code: def _load_gender_data(self, opt):
      """
      Get data file.
      """
      build(opt)
      dt = opt["datatype"].split(":")[0]
      folder = os.path.join(
          opt["datapath"], "md_gender", "data_to_release", "image_chat"
      )
      fle = "engaging_imagechat_gender_captions_hashed.{}.jsonl".format(
          dt
      )
      return os.path.join(folder, fle)
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.message import Message
  from parlai.core.teachers import FixedDialogTeacher
  from parlai.tasks.md_gender.build import build
  from parlai.tasks.image_chat.agents import ImageChatTeacher
  import parlai.tasks.md_gender.utils
  from copy import deepcopy
  import json
  import os
  import random
label_desc: Use image node_id 3 for calling the ImageChatTeacher obj's underlying member method code with example usage: obj._load_gender_data(opt) and returns: os