Skip to content

Commit

Permalink
set default back to 256 for user-friendlyness
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaxir committed May 17, 2020
1 parent 1df1211 commit d765aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aitextgen/aitextgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def generate(
self,
n: int = 1,
prompt: str = None,
max_length: int = 1024,
max_length: int = 256,
temperature: float = 0.7,
do_sample: bool = True,
return_as_list: bool = False,
Expand Down

0 comments on commit d765aa5

Please sign in to comment.