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 4084aab

Browse filesBrowse files
committed
fix: set default pooling type to unspecified
1 parent d318cc8 commit 4084aab
Copy full SHA for 4084aab

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎llama_cpp/llama.py

Copy file name to clipboardExpand all lines: llama_cpp/llama.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(
7979
n_threads: Optional[int] = None,
8080
n_threads_batch: Optional[int] = None,
8181
rope_scaling_type: Optional[int] = llama_cpp.LLAMA_ROPE_SCALING_TYPE_UNSPECIFIED,
82-
pooling_type: int = llama_cpp.LLAMA_POOLING_TYPE_MEAN,
82+
pooling_type: int = llama_cpp.LLAMA_POOLING_TYPE_UNSPECIFIED,
8383
rope_freq_base: float = 0.0,
8484
rope_freq_scale: float = 0.0,
8585
yarn_ext_factor: float = -1.0,

0 commit comments

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