Commit 3fa62d46 authored by jon-tow's avatar jon-tow
Browse files

Update `max_length`

parent 5bc61283
......@@ -72,7 +72,7 @@ def oa_completion(**kwargs):
class GPT3LM(BaseLM):
REQ_CHUNK_SIZE = 40
REQ_CHUNK_SIZE = 20
def __init__(self, engine, truncate=False, api_key=None, pass_strings=False):
"""
......@@ -276,7 +276,7 @@ class GooseAILM(GPT3LM):
@property
def max_length(self):
# Note: this is temporary, will be raised to 2048 in the future
return 1023
return 2022
@property
def eot_token_id(self):
......
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