Fix type bug
This commit is contained in:
parent
e214a58422
commit
be0add1b2d
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ class _LlamaContext:
|
||||||
def sample_repetition_penalties(
|
def sample_repetition_penalties(
|
||||||
self,
|
self,
|
||||||
candidates: "_LlamaTokenDataArray",
|
candidates: "_LlamaTokenDataArray",
|
||||||
last_tokens_data: llama_cpp.Array[llama_cpp.llama_token],
|
last_tokens_data: "llama_cpp.Array[llama_cpp.llama_token]",
|
||||||
penalty_last_n: int,
|
penalty_last_n: int,
|
||||||
penalty_repeat: float,
|
penalty_repeat: float,
|
||||||
penalty_freq: float,
|
penalty_freq: float,
|
||||||
|
|
Loading…
Reference in a new issue