MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / create_all_tasks

Function create_all_tasks

test/general/lm_eval/tasks/bigbench.py:231–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229
230
231def create_all_tasks():
232 resources_dir = importlib.resources.files("lm_eval.datasets") / "bigbench_resources"
233 supported_tasks = [os.path.splitext(x)[0] for x in os.listdir(resources_dir)]
234 res = {}
235 for task_name in supported_tasks:
236 task_path = os.path.join(resources_dir, f"{task_name}.json")
237 res[f"bigbench_{task_name}"] = create_task_from_path(task_path)
238 return res

Callers

nothing calls this directly

Calls 1

create_task_from_pathFunction · 0.85

Tested by

no test coverage detected