MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / dump_eval_results

Function dump_eval_results

experiments/evaluate_mmlu.py:105–109  ·  view source on GitHub ↗
(self, dct: Dict[str, Any])

Source from the content-addressed store, hash-verified

103
104
105def dump_eval_results(self, dct: Dict[str, Any]) -> None:
106 if self._art_dir_name is not None:
107 eval_json_name = os.path.join(self._art_dir_name, "evaluation.json")
108 with open(eval_json_name, "w") as f:
109 json.dump(dct, f)

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected