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
59ee4652
Commit
59ee4652
authored
Feb 11, 2025
by
Baber
Browse files
nit
parent
b72515a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lm_eval/filters/extraction.py
lm_eval/filters/extraction.py
+2
-0
No files found.
lm_eval/filters/extraction.py
View file @
59ee4652
...
@@ -36,6 +36,8 @@ class RegexFilter(Filter):
...
@@ -36,6 +36,8 @@ class RegexFilter(Filter):
fallback_regex_group_select
fallback_regex_group_select
if
fallback_regex_group_select
if
fallback_regex_group_select
else
group_select
*
len
(
fallback_regex
)
else
group_select
*
len
(
fallback_regex
)
if
fallback_regex
else
None
)
)
self
.
group_select
=
group_select
self
.
group_select
=
group_select
self
.
fallback
=
fallback
self
.
fallback
=
fallback
...
...
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