From d1d0a61b004225299f507acd807a7318a6fb8c97 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 6 Feb 2025 10:43:16 +0100 Subject: [PATCH] squash! common : add default embeddings presets Update the remaining presets to use the models from ggml-org. --- common/arg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/arg.cpp b/common/arg.cpp index fee12ec9b..152f671ab 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -2328,7 +2328,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex {"--embd-bge-small-en-default"}, string_format("use default bge-small-en-v1.5 model (note: can download weights from the internet)"), [](common_params & params) { - params.hf_repo = "CompendiumLabs/bge-small-en-v1.5-gguf"; + params.hf_repo = "ggml-org/bge-small-en-v1.5-Q8_0-GGUF"; params.hf_file = "bge-small-en-v1.5-q8_0.gguf"; params.pooling_type = LLAMA_POOLING_TYPE_NONE; params.embd_normalize = 2; @@ -2342,8 +2342,8 @@ common_params_context common_params_parser_init(common_params & params, llama_ex {"--embd-e5-small-en-default"}, string_format("use default e5-small-v2 model (note: can download weights from the internet)"), [](common_params & params) { - params.hf_repo = "ChristianAzinn/e5-small-v2-gguf"; - params.hf_file = "e5-small-v2.Q8_0.gguf"; + params.hf_repo = "ggml-org/e5-small-v2-Q8_0-GGUF"; + params.hf_file = "e5-small-v2-q8_0.gguf"; params.pooling_type = LLAMA_POOLING_TYPE_NONE; params.embd_normalize = 2; params.n_ctx = 512;