Skip to content

Commit

Permalink
Fix stop sequence initialization as empty string (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenditc committed Mar 6, 2024
1 parent 740f454 commit fd935eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/models/base_model.py
Expand Up @@ -247,7 +247,7 @@ def __init__(
temperature=1.0,
top_p=1.0,
n_choices=1,
stop="",
stop=[],
max_generation_token=None,
presence_penalty=0,
frequency_penalty=0,
Expand Down

0 comments on commit fd935eb

Please sign in to comment.