code: def main():
      args = get_arg_parser().parse_args()
  
      assert (
          args.scores_info_export_path is not None
      ), "--scores-info-export-path is required for weights search"
  
      random_search(
          args.scores_info_export_path,
          args.num_trials,
          args.report_oracle_bleu,
      )
  
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 5 for calling a global function with example usage: main() without return types