code: def main(args):
      config = recursive_config(args.config).dataset
  
      out_file = (
          os.path.splitext(config.caption_pkl_path)[0]
          + "."
          + config.bert_name
          + ".pkl"
      )
      if not os.path.isfile(out_file):
          tokenize(config, out_file)
      sharding(config, out_file)
  
file_path: fairseq/examples/MMPT/scripts/text_token_extractor/pretokenization.py
imports: import pickle
  import os
  import argparse
  import numpy
  from torch.utils.data import Dataset, DataLoader
  from mmpt.processors import PKLJSONStrTextProcessor
  from mmpt.utils import ShardedTensor, recursive_config
label_desc: Use image node_id 4 for calling a global function with example usage: main(args) without return types