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
599205c4
Commit
599205c4
authored
Aug 24, 2023
by
lintangsutawika
Browse files
edit to accept docs
parent
faa2e43d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/filters/selection.py
lm_eval/filters/selection.py
+1
-1
No files found.
lm_eval/filters/selection.py
View file @
599205c4
...
@@ -9,7 +9,7 @@ class TakeFirstFilter(Filter):
...
@@ -9,7 +9,7 @@ class TakeFirstFilter(Filter):
Can define custom behavior here, if an individual instantiation of a Filter class should have state.
Can define custom behavior here, if an individual instantiation of a Filter class should have state.
"""
"""
def
apply
(
self
,
resps
):
def
apply
(
self
,
resps
,
docs
):
"""
"""
Assuming each entry of `resps` is a list of model responses, we discard all but the first response.
Assuming each entry of `resps` is a list of model responses, we discard all but the first response.
"""
"""
...
...
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