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