code: def load_raw_emb_data(file, map_f=None, e2id_map=None):
      if map_f is not None:
          e2id_map = {}
          id2e_map = {}
          with open(map_f, "r") as f:
              reader = csv.reader(f, delimiter="\t")
              for row in reader:
                  e2id_map[row[1]] = int(row[0])
                  id2e_map[int(row[0])] = row[1]
      elif e2id_map is not None:
          id2e_map = []  # dummpy return value
      else:
          assert False, "There should be an ID mapping file provided"
  
      ids = []
      with open(file, "r") as f:
          line = f.readline()
          while len(line) > 0:
              ids.append(e2id_map[line[:-1]])
              line = f.readline()
          ids = np.asarray(ids)
  
      return ids, id2e_map, e2id_map
  
file_path: ogb/examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/utils.py
imports: import math
  import os
  import csv
  import argparse
  import json
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: load_raw_emb_data(file, map_f, e2id_map) and returns: ids,  id2e_map,  e2id_map