Skip to content

Commit fcddf19

Browse files
authored
fix: remove warning (#3128)
1 parent f3a0b55 commit fcddf19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lm_eval/filters/extraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def __init__(
141141
"""
142142
regex_pattern: The basic regex pattern to use. If fails to match, we will use the customized match procedure
143143
- step 1 : We parse the choices between ([A-Z])s then try to find these choices in the response.
144-
- step 2 : We parse the choice with regex: r'\s*([A-?])', where ? varies by number of choices.
144+
- step 2 : We parse the choice with regex: r's*([A-?])', where ? varies by number of choices.
145145
group_select: Selects the (group_select)th match from the findall result.
146146
ignore_case: Ignores the case during step 1 matching
147147
ignore_punctuation: Remove the punctuation during step 1 matching

0 commit comments

Comments
 (0)