Skip to content

Commit ef4c5b8

Browse files
authored
presets : fix pooling param for embedding models (#16455)
1 parent c61ae20 commit ef4c5b8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

common/arg.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,7 +3859,6 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
38593859
[](common_params & params) {
38603860
params.model.hf_repo = "ggml-org/bge-small-en-v1.5-Q8_0-GGUF";
38613861
params.model.hf_file = "bge-small-en-v1.5-q8_0.gguf";
3862-
params.pooling_type = LLAMA_POOLING_TYPE_NONE;
38633862
params.embd_normalize = 2;
38643863
params.n_ctx = 512;
38653864
params.verbose_prompt = true;
@@ -3873,7 +3872,6 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
38733872
[](common_params & params) {
38743873
params.model.hf_repo = "ggml-org/e5-small-v2-Q8_0-GGUF";
38753874
params.model.hf_file = "e5-small-v2-q8_0.gguf";
3876-
params.pooling_type = LLAMA_POOLING_TYPE_NONE;
38773875
params.embd_normalize = 2;
38783876
params.n_ctx = 512;
38793877
params.verbose_prompt = true;
@@ -3887,7 +3885,6 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
38873885
[](common_params & params) {
38883886
params.model.hf_repo = "ggml-org/gte-small-Q8_0-GGUF";
38893887
params.model.hf_file = "gte-small-q8_0.gguf";
3890-
params.pooling_type = LLAMA_POOLING_TYPE_NONE;
38913888
params.embd_normalize = 2;
38923889
params.n_ctx = 512;
38933890
params.verbose_prompt = true;

0 commit comments

Comments
 (0)