From 47da4ec20bafa5ad5477f2db18e0340b68623e1f Mon Sep 17 00:00:00 2001 From: Diego Carpintero <6709785+dcarpintero@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:15:36 +0100 Subject: [PATCH] Fixes #25 and #26 --- chapter08/Chapter 8 - Semantic Search.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapter08/Chapter 8 - Semantic Search.ipynb b/chapter08/Chapter 8 - Semantic Search.ipynb index 33572e6..a80e7f3 100644 --- a/chapter08/Chapter 8 - Semantic Search.ipynb +++ b/chapter08/Chapter 8 - Semantic Search.ipynb @@ -1448,7 +1448,7 @@ } ], "source": [ - "!wget https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-gguf/resolve/main/Phi-3-mini-4k-instruct-fp16.gguf" + "!wget https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-gguf/resolve/main/Phi-3-mini-4k-instruct-q4.gguf" ] }, { @@ -1463,7 +1463,7 @@ "\n", "# Make sure the model path is correct for your system!\n", "llm = LlamaCpp(\n", - " model_path=\"Phi-3-mini-4k-instruct-fp16.gguf\",\n", + " model_path=\"Phi-3-mini-4k-instruct-q4.gguf\",\n", " n_gpu_layers=-1,\n", " max_tokens=500,\n", " n_ctx=2048,\n", @@ -1783,7 +1783,7 @@ "\n", "# Embedding Model for converting text to numerical representations\n", "embedding_model = HuggingFaceEmbeddings(\n", - " model_name='thenlper/gte-small'\n", + " model_name='BAAI/bge-small-en-v1.5'\n", ")" ] },