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

Function llm_exp

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

Source from the content-addressed store, hash-verified

31
32
33def llm_exp():
34 args = parse_args()
35 config: str = args.config
36 config = config.split(',')
37 os.makedirs(args.save_dir, exist_ok=True)
38 all_configs = []
39 if not isinstance(config, list):
40 config = [config]
41 for dir_or_file in config:
42 all_configs.extend(find_all_config(dir_or_file))
43 args.config = all_configs
44 exp_manager = ExpManager()
45 exp_manager.begin(args)
46
47
48if __name__ == '__main__':

Callers 1

exp.pyFile · 0.85

Calls 5

beginMethod · 0.95
find_all_configFunction · 0.90
ExpManagerClass · 0.90
splitMethod · 0.80
parse_argsFunction · 0.70

Tested by

no test coverage detected