8000 Add seed parameter to chat handlers · chiensen/llama-cpp-python@64f5153 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64f5153

Browse files
committed
Add seed parameter to chat handlers
1 parent 86aeb9f commit 64f5153

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llama_cpp/llama_chat_format.py

Lines 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