Unverified Commit 4aafe026 authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Merge pull request #929 from EleutherAI/fix-generate-until

Fix `generate_until` rename
parents f8342178 785153f6
...@@ -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 greedy_until(self, requests) -> List[str]: def generate_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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment