peter2000 commited on
Commit
73205e7
1 Parent(s): 808297d

Update appStore/keyword_search.py

Browse files
Files changed (1) hide show
  1. appStore/keyword_search.py +2 -1
appStore/keyword_search.py CHANGED
@@ -36,7 +36,8 @@ def start_haystack(documents_processed):
36
  document_store=document_store,
37
  embedding_model="sentence-transformers/multi-qa-mpnet-base-dot-v1",
38
  model_format="sentence_transformers")
39
- document_store.update_embeddings(retriever)
 
40
 
41
 
42
  reader = FARMReader(model_name_or_path="deepset/tinyroberta-squad2", use_gpu=True) #deepset/roberta-base-squad2
 
36
  document_store=document_store,
37
  embedding_model="sentence-transformers/multi-qa-mpnet-base-dot-v1",
38
  model_format="sentence_transformers")
39
+
40
+ document_store.update_embeddings(retriever)
41
 
42
 
43
  reader = FARMReader(model_name_or_path="deepset/tinyroberta-squad2", use_gpu=True) #deepset/roberta-base-squad2