This commit is contained in:
l.gabrysiak 2025-02-26 15:41:53 +01:00
parent 9228f77c94
commit c1ba5ae5be
1 changed files with 1 additions and 1 deletions

View File

@ -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