code: def load_from_yaml(dataset_config):
      import yaml
  
      configs = yaml.load(open(dataset_config), Loader=yaml.FullLoader)
      return PrefixGenerator(configs["Prefix"])
  
file_path: DeepKE/src/deepke/name_entity_re/cross/extraction/dataset_processer.py
imports: from ..extraction.record_schema import RecordSchema
  from ..extraction.constants import spot_prompt, asoc_prompt, text_start
label_desc: Use image node_id 3 for calling the PrefixGenerator obj's underlying member method code with example usage: obj.load_from_yaml(dataset_config) and returns: PrefixGenerator