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
1f21b8ef
Unverified
Commit
1f21b8ef
authored
Jul 18, 2023
by
Lintang Sutawika
Committed by
GitHub
Jul 18, 2023
Browse files
Update evaluator.py
parent
777f57ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-1
No files found.
lm_eval/evaluator.py
View file @
1f21b8ef
...
@@ -195,7 +195,7 @@ def evaluate(
...
@@ -195,7 +195,7 @@ def evaluate(
samples
=
collections
.
defaultdict
(
list
)
samples
=
collections
.
defaultdict
(
list
)
# tracks all Instances/requests a model must generate output on.
# tracks all Instances/requests a model must generate output on.
requests
=
collections
.
defaultdict
(
list
)
requests
=
collections
.
defaultdict
(
list
)
#
?
#
Stores task scores based on task grouping.
aggregate
=
collections
.
defaultdict
(
dict
)
aggregate
=
collections
.
defaultdict
(
dict
)
# tracks if a task was chosen via user selecting a group containing it
# tracks if a task was chosen via user selecting a group containing it
task_groups
=
collections
.
defaultdict
(
dict
)
task_groups
=
collections
.
defaultdict
(
dict
)
...
...
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