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
74332955
Unverified
Commit
74332955
authored
Mar 04, 2025
by
Baber Abbasi
Committed by
GitHub
Mar 04, 2025
Browse files
add debug log (#2757)
parent
8b5c5c13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lm_eval/api/task.py
lm_eval/api/task.py
+4
-0
No files found.
lm_eval/api/task.py
View file @
74332955
...
...
@@ -838,6 +838,10 @@ class ConfigurableTask(Task):
filter_pipeline
=
build_filter_ensemble
(
filter_name
,
components
)
self
.
_filters
.
append
(
filter_pipeline
)
else
:
# TODO: handle repeats in a more general way rather than just discarding
eval_logger
.
debug
(
"No custom filters defined. Using default 'take_first' filter for handling repeats."
)
self
.
_filters
=
[
build_filter_ensemble
(
"none"
,
[[
"take_first"
,
None
]])]
if
self
.
config
.
use_prompt
is
not
None
:
...
...
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