Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -117,7 +117,7 @@ def clean_text(text, extra_stopwords=None):
|
|
| 117 |
# FAISS and Embedding Helper Functions with Hybrid Score
|
| 118 |
# =============================================================================
|
| 119 |
|
| 120 |
-
embedding_model = SentenceTransformer('
|
| 121 |
|
| 122 |
|
| 123 |
def get_embedding(text, prefix="passage: ", normalize=True):
|
|
|
|
| 117 |
# FAISS and Embedding Helper Functions with Hybrid Score
|
| 118 |
# =============================================================================
|
| 119 |
|
| 120 |
+
embedding_model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
| 121 |
|
| 122 |
|
| 123 |
def get_embedding(text, prefix="passage: ", normalize=True):
|