mod
This commit is contained in:
parent
9228f77c94
commit
c1ba5ae5be
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue