Commit 51f4994d authored by baberabb's avatar baberabb
Browse files

bugfix:retrieve until from until dict

parent 701bd09f
...@@ -198,7 +198,6 @@ class GPT3LM(BaseLM): ...@@ -198,7 +198,6 @@ class GPT3LM(BaseLM):
context_enc = self.tok_encode(context) context_enc = self.tok_encode(context)
inp = context_enc[-(self.max_length - self.max_gen_toks) :] inp = context_enc[-(self.max_length - self.max_gen_toks) :]
inps.append(inp) inps.append(inp)
print(until)
response = oa_completion( response = oa_completion(
engine=self.engine, engine=self.engine,
prompt=inps, prompt=inps,
......
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