Ritesh-hf commited on
Commit
f32d465
·
1 Parent(s): 8b36884

change embed model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ bm25 = BM25Encoder().load("./updated-traveler.json")
73
  ##################################################
74
 
75
  # Initialize models and retriever
76
- embed_model = HuggingFaceEmbeddings(model_name="Alibaba-NLP/gte-large-en-v1.5", model_kwargs={"trust_remote_code":True})
77
  retriever = PineconeHybridSearchRetriever(
78
  embeddings=embed_model,
79
  sparse_encoder=bm25,
 
73
  ##################################################
74
 
75
  # Initialize models and retriever
76
+ embed_model = HuggingFaceEmbeddings(model_name="jinaai/jina-embeddings-v3", model_kwargs={"trust_remote_code":True})
77
  retriever = PineconeHybridSearchRetriever(
78
  embeddings=embed_model,
79
  sparse_encoder=bm25,