class_docstr: MDGender data collected on Mechanical Turk.
class_docstr_tok: ["MDGender","data","collected","on","Mechanical","Turk","."]
docstr: Get the test/train/valid split.
docstr_tok: ["Get","the","test\/train\/valid","split","."]
code: def _get_convos(self, opt):
      """
      Get the test/train/valid split.
      """
      build(opt)
      with open(os.path.join(opt["datapath"], NEW_DATAFILE), "r") as f:
          ex_jsons = f.read().splitlines()
  
      convos = [json.loads(ex) for ex in ex_jsons]
  
      return convos
  
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
  import parlai.tasks.md_gender.utils
  import json
  import os
  import random
label_desc: Use image node_id 3 for calling the MdGenderTeacher obj's underlying member method code with example usage: obj._get_convos(opt) and returns: convos