MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / get_mmlu_result

Function get_mmlu_result

eval/eval.py:27–31  ·  view source on GitHub ↗
(json: dict)

Source from the content-addressed store, hash-verified

25
26
27def get_mmlu_result(json: dict):
28 # MMLU reults needs to be averaged across a few tests...
29 total_acc = sum(json['results'][key]['acc'] for key in json['results'])
30 avg_acc = total_acc / len(json['results'])
31 return avg_acc * 100
32
33
34def get_truthfulQA_result(json: dict):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected