Skip to content

Commit

Permalink
Use 0.7 temperature default (matches gpt-2-simple)
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaxir committed May 17, 2020
1 parent 4015537 commit 74f54a5
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 @@ -235,7 +235,7 @@ def generate(
n: int = 1,
prompt: str = None,
max_length: int = 200,
temperature: float = 1.0,
temperature: float = 0.7,
do_sample: bool = True,
return_as_list: bool = False,
seed: int = None,
Expand Down

0 comments on commit 74f54a5

Please sign in to comment.