Add seed parameter to chat handlers
This commit is contained in:
parent
86aeb9f3a1
commit
64f5153c35
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ class LlamaChatCompletionHandler(Protocol):
|
||||||
top_k: int = 40,
|
top_k: int = 40,
|
||||||
stream: bool = False,
|
stream: bool = False,
|
||||||
stop: Optional[Union[str, List[str]]] = [],
|
stop: Optional[Union[str, List[str]]] = [],
|
||||||
|
seed: Optional[int] = None,
|
||||||
max_tokens: int = 256,
|
max_tokens: int = 256,
|
||||||
presence_penalty: float = 0.0,
|
presence_penalty: float = 0.0,
|
||||||
frequency_penalty: float = 0.0,
|
frequency_penalty: float = 0.0,
|
||||||
|
|
Loading…
Reference in a new issue