FlagOpen / FlagEmbedding

Retrieval and Retrieval-augmented LLMs
MIT License
7.03k stars 513 forks source link

compute_lexical_matching_score VS ElasticSearch #426

Open trillionmonster opened 8 months ago

trillionmonster commented 8 months ago

如果我有一个ES,那么还需使用这个函数要计算这一项吗?

compute_lexical_matching_score

staoxiao commented 8 months ago

ES中应该可以导入权重,自己计算。具体在ES中实现我们目前也没有尝试,如果您有的话,非常欢迎PR。