Commit 03f34463 authored by Leo Gao's avatar Leo Gao
Browse files

Fix gpt3 batching bug

parent 1ff4e07f
......@@ -135,7 +135,7 @@ class GPT3LM(LM):
)
for resp in response.choices:
s = response.choices[0]['text']
s = resp['text']
for term in until:
s = s.split(term)[0]
......
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