Commit 3149b6ac authored by Albert Jiang's avatar Albert Jiang
Browse files

revert change to _model_generate abstract method signature

parent 1576e99e
...@@ -153,7 +153,7 @@ class BaseLM(LM): ...@@ -153,7 +153,7 @@ class BaseLM(LM):
pass pass
@abstractmethod @abstractmethod
def _model_generate(self, context, max_length, eos_token_id, temperature=0.): def _model_generate(self, context, max_length, eos_token_id):
pass pass
@abstractmethod @abstractmethod
......
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