Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
update: default stop tokens for falcon-7b-instruct api
Browse files Browse the repository at this point in the history
  • Loading branch information
biswaroop1547 committed Jun 28, 2023
1 parent f9881fb commit 542ad2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cht-falcon/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ChatCompletionInput(BaseModel):
top_p: float = 1.0
n: int = 1
stream: bool = False
stop: Optional[Union[str, List[str]]] = ""
stop: Optional[Union[str, List[str]]] = ["\nUser:", "User:"]
max_tokens: int = 64
presence_penalty: float = 0.0
frequence_penalty: float = 0.0
Expand Down

0 comments on commit 542ad2a

Please sign in to comment.