infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
23.23k stars 2.27k forks source link

[Question]: The latest rerank code, debugging found that the keyword similarity is [1,1,1,1.....] #3499

Open sznariOsmosis opened 3 hours ago

sznariOsmosis commented 3 hours ago

Describe your problem

I saw the code of the recent rerank, and there are modifications related to "accelerated deweighting calculation", but I tried several problems, and the keyword weight similarity calculation is [1,1,1,1.......] It is inconsistent with the calculation result of the early tag, so whether the keyword similarity is not used for sorting by default

sznariOsmosis commented 3 hours ago

Describe your problem

I saw the code of the recent rerank, and there are modifications related to "accelerated deweighting calculation", but I tried several problems, and the keyword weight similarity calculation is [1,1,1,1.......] It is inconsistent with the calculation result of the early tag, so whether the keyword similarity is not used for sorting by default

![Uploading 1491732014226_.pic.jpg…]()