fix: set default pooling type to unspecified
This commit is contained in:
parent
d318cc8b83
commit
4084aabe86
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Llama:
|
||||||
n_threads: Optional[int] = None,
|
n_threads: Optional[int] = None,
|
||||||
n_threads_batch: Optional[int] = None,
|
n_threads_batch: Optional[int] = None,
|
||||||
rope_scaling_type: Optional[int] = llama_cpp.LLAMA_ROPE_SCALING_TYPE_UNSPECIFIED,
|
rope_scaling_type: Optional[int] = llama_cpp.LLAMA_ROPE_SCALING_TYPE_UNSPECIFIED,
|
||||||
pooling_type: int = llama_cpp.LLAMA_POOLING_TYPE_MEAN,
|
pooling_type: int = llama_cpp.LLAMA_POOLING_TYPE_UNSPECIFIED,
|
||||||
rope_freq_base: float = 0.0,
|
rope_freq_base: float = 0.0,
|
||||||
rope_freq_scale: float = 0.0,
|
rope_freq_scale: float = 0.0,
|
||||||
yarn_ext_factor: float = -1.0,
|
yarn_ext_factor: float = -1.0,
|
||||||
|
|
Loading…
Reference in a new issue