Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,9 @@ from langchain_huggingface import HuggingFaceEmbeddings
|
|
29 |
|
30 |
# CHECK MTEB LEADERBOARD & FIND BEST EMBEDDING MODEL
|
31 |
model = "BAAI/bge-m3"
|
32 |
-
|
33 |
-
|
34 |
-
embeddings = HuggingFaceEmbeddings(model = model)
|
35 |
|
36 |
vectorstore = Chroma.from_documents(documents = data, embedding = embeddings)
|
37 |
retriever = vectorstore.as_retriever()
|
|
|
29 |
|
30 |
# CHECK MTEB LEADERBOARD & FIND BEST EMBEDDING MODEL
|
31 |
model = "BAAI/bge-m3"
|
32 |
+
model = "BAAI/bge-large-en-v1.5"
|
33 |
+
embeddings = HuggingFaceEndpointEmbeddings()
|
34 |
+
# embeddings = HuggingFaceEmbeddings(model = model)
|
35 |
|
36 |
vectorstore = Chroma.from_documents(documents = data, embedding = embeddings)
|
37 |
retriever = vectorstore.as_retriever()
|