Skip to content

Commit

Permalink
Log which subtasks were called with which groups (EleutherAI#1456)
Browse files Browse the repository at this point in the history
* log group membership

* no stray prints

* Update evaluator.py
  • Loading branch information
haileyschoelkopf authored and nightingal3 committed May 2, 2024
1 parent 328c5be commit b5ee714
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lm_eval/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ def print_tasks(task_hierarchy, results, tab=0):
results_dict = {
"results": dict(results_agg.items()),
**({"groups": dict(groups_agg.items())} if bool(groups_agg) else {}),
"group_subtasks": {k: v for k, v in reversed(task_hierarchy.items())},
"configs": dict(sorted(configs.items())),
"versions": dict(sorted(versions.items())),
"n-shot": dict(sorted(num_fewshot.items())),
Expand Down

0 comments on commit b5ee714

Please sign in to comment.