MCPcopy Create free account
hub / github.com/InternScience/SciReason / build_dataset_from_cfg

Function build_dataset_from_cfg

opencompass/utils/build.py:8–12  ·  view source on GitHub ↗
(dataset_cfg: ConfigDict)

Source from the content-addressed store, hash-verified

6
7
8def build_dataset_from_cfg(dataset_cfg: ConfigDict):
9 dataset_cfg = copy.deepcopy(dataset_cfg)
10 dataset_cfg.pop('infer_cfg', None)
11 dataset_cfg.pop('eval_cfg', None)
12 return LOAD_DATASET.build(dataset_cfg)
13
14
15def build_model_from_cfg(model_cfg: ConfigDict):

Callers 15

runMethod · 0.90
print_promptsFunction · 0.90
runMethod · 0.90
get_sizeMethod · 0.90
get_costMethod · 0.90
get_sizeMethod · 0.90
get_costMethod · 0.90
monkey_runFunction · 0.90
summarizeMethod · 0.90
scoreMethod · 0.90
scoreMethod · 0.90
_scoreMethod · 0.90

Calls 1

buildMethod · 0.80

Tested by

no test coverage detected