MCPcopy Create free account
hub / github.com/MARIO-Math-Reasoning/Super_MARIO / parse_args

Function parse_args

react_batch_demo.py:23–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def parse_args():
24 args = argparse.ArgumentParser()
25 args.add_argument('--custom_cfg', type=str, default="configs/react_sft.yaml")
26 args.add_argument(
27 "--qaf", "--question-answer-file",
28 type=str,
29 required=True,
30 help="the file includes quesiton / partial solution (optional) / answer (optional)")
31
32 args = args.parse_args()
33 return args
34
35
36if __name__ == '__main__':

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected