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
35be7100
Commit
35be7100
authored
Jun 27, 2025
by
Baber
Browse files
only use for generate_until tasks
parent
ea8dfbe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lm_eval/evaluator.py
lm_eval/evaluator.py
+2
-2
No files found.
lm_eval/evaluator.py
View file @
35be7100
...
...
@@ -331,9 +331,9 @@ def simple_evaluate(
# fewshot_random_seed set for tasks, even with a default num_fewshot (e.g. in the YAML file)
task_obj
.
set_fewshot_seed
(
seed
=
fewshot_random_seed
)
if
strip_reasoning
:
if
strip_reasoning
and
task_obj
.
OUTPUT_TYPE
==
"generate_until"
:
eval_logger
.
info
(
f
"Stripping reasoning from
{
task_name
}
task outputs."
f
"Stripping reasoning from
{
task_name
}
task outputs
using
{
strip_reasoning
}
."
)
task_obj
.
overide_filter
(
"strip_reasoning"
,
...
...
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