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
37357004
Unverified
Commit
37357004
authored
Jun 19, 2025
by
Maxim Evtush
Committed by
GitHub
Jun 19, 2025
Browse files
Update instructions.py (#3060)
parent
5a15058e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lm_eval/tasks/ifeval/instructions.py
lm_eval/tasks/ifeval/instructions.py
+2
-2
No files found.
lm_eval/tasks/ifeval/instructions.py
View file @
37357004
...
...
@@ -740,7 +740,7 @@ class RephraseChecker(Instruction):
class
KeywordChecker
(
Instruction
):
"""Check the exis
i
tence of certain keywords."""
"""Check the existence of certain keywords."""
def
build_description
(
self
,
*
,
keywords
=
None
):
"""Build the instruction description.
...
...
@@ -1161,7 +1161,7 @@ class RephraseParagraph(Instruction):
Args:
original_paragraph: A string presenting the original paragraph. The
rephrases response should have betwee
b
low-high words in common.
rephrases response should have betwee
n
low-high words in common.
low: An integer presenting the lower bound of similar words.
high: An integer representing the upper bound of similar words.
...
...
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