Skip to content

Commit d1d0a61

Browse files
committed
squash! common : add default embeddings presets
Update the remaining presets to use the models from ggml-org.
1 parent 61f410f commit d1d0a61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/arg.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2328,7 +2328,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
23282328
{"--embd-bge-small-en-default"},
23292329
string_format("use default bge-small-en-v1.5 model (note: can download weights from the internet)"),
23302330
[](common_params & params) {
2331-
params.hf_repo = "CompendiumLabs/bge-small-en-v1.5-gguf";
2331+
params.hf_repo = "ggml-org/bge-small-en-v1.5-Q8_0-GGUF";
23322332
params.hf_file = "bge-small-en-v1.5-q8_0.gguf";
23332333
params.pooling_type = LLAMA_POOLING_TYPE_NONE;
23342334
params.embd_normalize = 2;
@@ -2342,8 +2342,8 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
23422342
{"--embd-e5-small-en-default"},
23432343
string_format("use default e5-small-v2 model (note: can download weights from the internet)"),
23442344
[](common_params & params) {
2345-
params.hf_repo = "ChristianAzinn/e5-small-v2-gguf";
2346-
params.hf_file = "e5-small-v2.Q8_0.gguf";
2345+
params.hf_repo = "ggml-org/e5-small-v2-Q8_0-GGUF";
2346+
params.hf_file = "e5-small-v2-q8_0.gguf";
23472347
params.pooling_type = LLAMA_POOLING_TYPE_NONE;
23482348
params.embd_normalize = 2;
23492349
params.n_ctx = 512;

0 commit comments

Comments
 (0)