You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frombert4vector.coreimportBertSimilaritymodel=BertSimilarity('/data/pretrain_ckpt/embedding/BAAI--bge-base-en-v1.5')
model.add_corpus(['hello', 'nice to meet you'])
model.add_corpus(['thank you very much', 'i love you'])
model.summary()
print(model.search('hi', topk=2))
英文检索
选取的embedding模型为BAAI/bge-large-en-v1.5,参考examples/faiss_search.py进行英文检索,效果很差,请问一下可能的原因是什么呢?
The text was updated successfully, but these errors were encountered: