Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
00dc9960
Unverified
Commit
00dc9960
authored
Feb 22, 2024
by
Hailey Schoelkopf
Committed by
GitHub
Feb 22, 2024
Browse files
Log which subtasks were called with which groups (#1456)
* log group membership * no stray prints * Update evaluator.py
parent
ba5cdf0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-0
No files found.
lm_eval/evaluator.py
View file @
00dc9960
...
@@ -636,6 +636,7 @@ def evaluate(
...
@@ -636,6 +636,7 @@ def evaluate(
results_dict
=
{
results_dict
=
{
"results"
:
dict
(
results_agg
.
items
()),
"results"
:
dict
(
results_agg
.
items
()),
**
({
"groups"
:
dict
(
groups_agg
.
items
())}
if
bool
(
groups_agg
)
else
{}),
**
({
"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
())),
"configs"
:
dict
(
sorted
(
configs
.
items
())),
"versions"
:
dict
(
sorted
(
versions
.
items
())),
"versions"
:
dict
(
sorted
(
versions
.
items
())),
"n-shot"
:
dict
(
sorted
(
num_fewshot
.
items
())),
"n-shot"
:
dict
(
sorted
(
num_fewshot
.
items
())),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment