code: def load_vocab(file_path):
      """
      load the given vocabulary
      """
      vocab = {}
      with io.open(file_path, "r", encoding="utf8") as f:
          wid = 0
          for line in f:
              parts = line.rstrip().split("\t")
              vocab[parts[0]] = int(parts[1])
      vocab["<unk>"] = len(vocab)
      return vocab
  
imports: import io
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: load_vocab(file_path) and returns: vocab