()
| 15 | |
| 16 | |
| 17 | def parse_args(): |
| 18 | parser = argparse.ArgumentParser() |
| 19 | parser.add_argument('--output',default=os.path.join(abs_dir,'dataset','test.json'),help='where to store the method output.') |
| 20 | parser.add_argument('--method',default='unknown',help='what the name of the method.') |
| 21 | parser.add_argument('--ref_method',default='gpt-3.5-turbo_CoT',help='what the reference method is') |
| 22 | parser.add_argument('--ref_output',default=os.path.join(abs_dir,'dataset','ref_sample.json'),help='where the reference answer stored') |
| 23 | parser.add_argument('--evaluators_cfg_path',default=os.path.join(abs_dir,'evaluators'),help='where the evaluators config files are stored') |
| 24 | parser.add_argument('--evaluator',default='tooleval_gpt-3.5-turbo_normalized',help='which evaluator to use') |
| 25 | parser.add_argument('--max_eval_threads',default=16,type=int,help='how many threads to use for evaluation') |
| 26 | parser.add_argument('--evalset',default='default_evalset',help='which the evaluation dataset to use') |
| 27 | parser.add_argument('--eval_server_address',default='http://localhost:8000',help='the address of the evaluation server') |
| 28 | parser.add_argument('--use_existed_output',default=False,action='store_true',help='whether to use the existed output') |
| 29 | |
| 30 | return parser.parse_args() |
| 31 | |
| 32 | |
| 33 | ## !!define your method here !! |
no outgoing calls
no test coverage detected