ArturG9 commited on
Commit
c81e469
1 Parent(s): 4d4bdbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-base-en-v1.5"
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}