Unverified Commit c74ca57c authored by Leo Gao's avatar Leo Gao Committed by GitHub
Browse files

Merge pull request #286 from StephenHogg/255

Fix BUG: TypeError: create_from_arg_string() takes 2 positional arguments but 3 were given
parents e18ef6e1 d895bfe6
......@@ -7,7 +7,7 @@ class DummyLM(LM):
pass
@classmethod
def create_from_arg_string(cls, arg_string):
def create_from_arg_string(cls, arg_string, additional_config=None):
return cls()
def loglikelihood(self, requests):
......@@ -23,7 +23,7 @@ class DummyLM(LM):
for ctx, _ in requests:
res.append("lol")
assert ctx.strip() != ''
assert ctx.strip() != ""
return res
......
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