rishisim commited on
Commit
40024ad
1 Parent(s): 78585de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- # model = "BAAI/bge-large-en-v1.5"
33
- # embeddings = HuggingFaceEndpointEmbeddings(model = model)
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()