Almaatla commited on
Commit
6dbae35
·
verified ·
1 Parent(s): d79e1d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import json
12
  import io
13
 
14
  app = FastAPI()
15
- model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
16
  embedding_dimension = 384 # 384 is the dimensionality of the MiniLM model
17
  index = faiss.IndexFlatL2(embedding_dimension)
18
  documents = []
 
12
  import io
13
 
14
  app = FastAPI()
15
+ model = SentenceTransformer('mixedbread-ai/mxbai-embed-large-v1') #('paraphrase-MiniLM-L6-v2')
16
  embedding_dimension = 384 # 384 is the dimensionality of the MiniLM model
17
  index = faiss.IndexFlatL2(embedding_dimension)
18
  documents = []