Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 64f5153

Browse filesBrowse files
committed
Add seed parameter to chat handlers
1 parent 86aeb9f commit 64f5153
Copy full SHA for 64f5153

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎llama_cpp/llama_chat_format.py

Copy file name to clipboardExpand all lines: llama_cpp/llama_chat_format.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def __call__(
2424
top_k: int = 40,
2525
stream: bool = False,
2626
stop: Optional[Union[str, List[str]]] = [],
27+
seed: Optional[int] = None,
2728
max_tokens: int = 256,
2829
presence_penalty: float = 0.0,
2930
frequency_penalty: float = 0.0,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.