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
39c2bb4e
Unverified
Commit
39c2bb4e
authored
Nov 28, 2023
by
Lintang Sutawika
Committed by
GitHub
Nov 28, 2023
Browse files
Merge pull request #1033 from EleutherAI/lintangsutawika-patch-4
[Refactor] Urgent fix
parents
e6d4ec39
b87ee153
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lm_eval/evaluator.py
lm_eval/evaluator.py
+2
-1
No files found.
lm_eval/evaluator.py
View file @
39c2bb4e
...
@@ -625,7 +625,8 @@ def evaluate(
...
@@ -625,7 +625,8 @@ def evaluate(
groups_agg
[
group
][
"alias"
]
=
tab_string
+
group
groups_agg
[
group
][
"alias"
]
=
tab_string
+
group
for
group_name
,
task_list
in
task_hierarchy
.
items
():
for
group_name
,
task_list
in
task_hierarchy
.
items
():
num_fewshot
[
group_name
]
=
num_fewshot
[
task_list
[
0
]]
if
task_list
!=
[]:
num_fewshot
[
group_name
]
=
num_fewshot
[
task_list
[
0
]]
results_dict
=
{
results_dict
=
{
"results"
:
dict
(
results_agg
.
items
()),
"results"
:
dict
(
results_agg
.
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