Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ os.environ["LANGCHAIN_PROJECT"] = "Lithuanian_Law_RAG_QA"
|
|
31 |
|
32 |
def create_retriever_from_chroma(vectorstore_path="./docs/chroma/", search_type='mmr', k=7, chunk_size=300, chunk_overlap=30,lambda_mult= 0.7):
|
33 |
|
34 |
-
model_name = "Alibaba-NLP/gte-
|
35 |
model_kwargs = {'device': 'cpu',
|
36 |
"trust_remote_code" : 'False'}
|
37 |
encode_kwargs = {'normalize_embeddings': True}
|
|
|
31 |
|
32 |
def create_retriever_from_chroma(vectorstore_path="./docs/chroma/", search_type='mmr', k=7, chunk_size=300, chunk_overlap=30,lambda_mult= 0.7):
|
33 |
|
34 |
+
model_name = "Alibaba-NLP/gte-large-en-v1.5"
|
35 |
model_kwargs = {'device': 'cpu',
|
36 |
"trust_remote_code" : 'False'}
|
37 |
encode_kwargs = {'normalize_embeddings': True}
|