Spaces:
Runtime error
Runtime error
Jorge Henao
commited on
Commit
•
f41f271
1
Parent(s):
54ee070
updateembeddings removed
Browse files- pinecode_quieries.py +1 -1
pinecode_quieries.py
CHANGED
@@ -44,7 +44,7 @@ class PinecodeProposalQueries(DocumentQueries):
|
|
44 |
embedding_model="multi-qa-distilbert-dot-v1",
|
45 |
model_format="sentence_transformers"
|
46 |
)
|
47 |
-
self.document_store.update_embeddings(self.retriever, batch_size=16)
|
48 |
self.pipe = ExtractiveQAPipeline(self.reader, self.retriever)
|
49 |
|
50 |
def search_by_query(self, query : str, retriever_top_k: int, reader_top_k: int, es_index: str = None) :
|
|
|
44 |
embedding_model="multi-qa-distilbert-dot-v1",
|
45 |
model_format="sentence_transformers"
|
46 |
)
|
47 |
+
#self.document_store.update_embeddings(self.retriever, batch_size=16)
|
48 |
self.pipe = ExtractiveQAPipeline(self.reader, self.retriever)
|
49 |
|
50 |
def search_by_query(self, query : str, retriever_top_k: int, reader_top_k: int, es_index: str = None) :
|