From c1ba5ae5bed139c4db2f5a9db1dca486cf474920 Mon Sep 17 00:00:00 2001 From: "l.gabrysiak" Date: Wed, 26 Feb 2025 15:41:53 +0100 Subject: [PATCH] mod --- gemma-faiss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemma-faiss.py b/gemma-faiss.py index 0be1598..6b61d53 100644 --- a/gemma-faiss.py +++ b/gemma-faiss.py @@ -40,7 +40,7 @@ index = faiss.IndexFlatL2(dim) index.add(np.array(embeddings, dtype=np.float32)) # 5️⃣ Wczytanie modelu Ollama (Gemma 2) -model_name = "./trained_model/gemma/Gemma-F16-LoRA.gguf" # Ścieżka do modelu w systemie +model_name = "hse.ably.do:latest" # Ścieżka do modelu w systemie tokenizer = AutoTokenizer.from_pretrained("google/gemma-2-2b") # 6️⃣ Funkcja wyszukiwania w FAISS