code: def read_embeddings(fp):
      fl = os.path.getsize(fp)
      nb = fl // d // dt.itemsize
      print(nb)
      if fl == d * dt.itemsize * nb:  # no header
          return (
              "raw",
              np.memmap(fp, shape=(nb, d), dtype=dt, mode="r"),
          )
      else:  # assume npy
          vecs = np.load(fp, mmap_mode="r")
          assert vecs.shape[1] == d
          assert vecs.dtype == dt
          return ("npy", vecs)
  
label_desc: Use image node_id 1 for calling a global function with example usage: read_embeddings(fp) and returns: str,  np, str,  vecs