MCPcopy
hub / github.com/modelscope/ms-swift / parse_args

Function parse_args

scripts/benchmark/exp.py:12–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def parse_args():
13 parser = argparse.ArgumentParser(description='Simple args for swift experiments.')
14 parser.add_argument(
15 '--config',
16 type=str,
17 default=None,
18 required=True,
19 help='The experiment config file',
20 )
21 parser.add_argument(
22 '--save_dir',
23 type=str,
24 default='./experiment',
25 required=False,
26 help='The experiment output folder',
27 )
28
29 args = parser.parse_args()
30 return args
31
32
33def llm_exp():

Callers 1

llm_expFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected