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
0cd992b1
Unverified
Commit
0cd992b1
authored
Jul 24, 2023
by
Lintang Sutawika
Committed by
GitHub
Jul 24, 2023
Browse files
Update evaluator.py
parent
8add5ed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
lm_eval/evaluator.py
lm_eval/evaluator.py
+0
-1
No files found.
lm_eval/evaluator.py
View file @
0cd992b1
...
...
@@ -366,7 +366,6 @@ def evaluate(
for
(
task_name
,
key
,
metric
),
items
in
vals
.
items
():
task
=
task_dict
[
task_name
]
results
[
task_name
][
metric
+
","
+
key
]
=
task
.
aggregation
()[
metric
](
items
)
# results[task_name]['num_fewshot'] = configs[task_name]
# hotfix: bleu, chrf, ter seem to be really expensive to bootstrap
# so we run them less iterations. still looking for a cleaner way to do this
...
...
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