MCPcopy
hub / github.com/Tele-AI/Telechat / get_args

Function get_args

evaluation/score_CEVAL.py:124–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 return "C"
123
124def get_args():
125 parser = argparse.ArgumentParser(
126 'Evaluation',
127 formatter_class=argparse.ArgumentDefaultsHelpFormatter)
128
129 group = parser.add_argument_group('EVAL Task Parameters')
130 group.add_argument(
131 '--five_shot', action="store_true")
132 group.add_argument(
133 '--path', type=str, default=None)
134
135 args = parser.parse_args()
136 return args
137
138args = get_args()
139PATH = args.path

Callers 1

score_CEVAL.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected