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

Method load_desc

opencompass/datasets/rolebench.py:28–32  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

26
27 @staticmethod
28 def load_desc(path):
29 path = get_data_path(path, local_mode=True)
30 with open(path, 'r', encoding='utf-8') as f:
31 desc_list = json.load(f)
32 return desc_list
33
34 @staticmethod
35 def load_dataset(path, desc_list):

Callers 3

loadMethod · 0.80
loadMethod · 0.80
loadMethod · 0.80

Calls 3

get_data_pathFunction · 0.90
openFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected