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
4aafe026
Unverified
Commit
4aafe026
authored
Oct 18, 2023
by
Lintang Sutawika
Committed by
GitHub
Oct 18, 2023
Browse files
Merge pull request #929 from EleutherAI/fix-generate-until
Fix `generate_until` rename
parents
f8342178
785153f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/api/model.py
lm_eval/api/model.py
+1
-1
No files found.
lm_eval/api/model.py
View file @
4aafe026
...
@@ -96,7 +96,7 @@ class LM(abc.ABC):
...
@@ -96,7 +96,7 @@ class LM(abc.ABC):
# TODO: Add an optional max length
# TODO: Add an optional max length
@
abc
.
abstractmethod
@
abc
.
abstractmethod
def
g
reedy
_until
(
self
,
requests
)
->
List
[
str
]:
def
g
enerate
_until
(
self
,
requests
)
->
List
[
str
]:
"""Generate greedily until a stopping sequence
"""Generate greedily until a stopping sequence
:param requests: list[Instance]
:param requests: list[Instance]
...
...
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