code: def get_arg_parser():
      parser = argparse.ArgumentParser(
          description=("Rescore generated hypotheses with extra models")
      )
      parser.add_argument(
          "--scores-info-export-path",
          type=str,
          help="Model scores for weights search",
      )
      parser.add_argument(
          "--num-trials",
          type=int,
          default=1000,
          help="Number of iterations of random search",
      )
      parser.add_argument(
          "--report-oracle-bleu", default=False, action="store_true"
      )
      return parser
  
file_path: translate/pytorch_translate/rescoring/weights_search.py
imports: import argparse
  import pickle
  import numpy
  import torch
  from fairseq.scoring import bleu
  from pytorch_translate import vocab_constants
  from pytorch_translate.data.dictionary import Dictionary
  from pytorch_translate.generate import smoothed_sentence_bleu
label_desc: Use image node_id 1 for calling a global function with example usage: get_arg_parser() and returns: parser