code: def load_dict(dict_path):
      """load_dict"""
      vocab = {}
      for line in open(dict_path, "r", encoding="utf-8"):
          value, key = line.strip("\n").split("\t")
          vocab[key] = int(value)
      return vocab
  
file_path: DeepKE/src/deepke/event_extraction/standard/bertcrf/utils_ee.py
imports: import hashlib
  from transformers import XLMRobertaTokenizer, BertTokenizer, RobertaTokenizer
  from torch.nn.utils.rnn import pad_sequence
label_desc: Use image node_id 1 for calling a global function with example usage: load_dict(dict_path) and returns: vocab