code: def load_bpe(enc_path):
      with open(enc_path) as f:
          bpe2idx = json.load(f)
          idx2bpe = {v: k for k, v in bpe2idx.items()}
      return bpe2idx, idx2bpe
  
file_path: fairseq/examples/data2vec/scripts/text/unprocess_data.py
imports: import json
  import os
  import tqdm
  from fairseq.data import Dictionary, data_utils
label_desc: Use image node_id 3 for calling a global function with example usage: load_bpe(enc_path) and returns: bpe2idx,  idx2bpe