mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-02 23:08:26 -05:00
bug: RAG_RERANKING not functional with manual Win10 install #957
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chrisoutwright on GitHub (May 17, 2024).
Bug Report
Description
Bug Summary:
After fetching and processing files, the reranking model does not function as expected. Weights from the DebertaV2ForSequenceClassification are not properly initialized, leading to ineffective reranking outcomes. Additionally, there seems to be a lack of interaction from the reranker with the documents, suggesting it cannot interpret or process document content effectively.
Steps to Reproduce:
start_windows.batwith the following environment variables set:RAG_RERANKING_MODELvariable points to a functional model.Expected Behavior:
The reranking model should successfully initialize with pre-trained weights and effectively interpret and process documents to enhance search and retrieval outcomes.
Actual Behavior:
Environment
Reproduction Details
Confirmation:
Additional Notes:
mightbe/Better-PairRMmodel could be a contributing factor to the initialization problems.Logs and Screenshots
Effectively it uses:
and then does
INFO:apps.ollama.main:generate_ollama_embeddingswhere is reranking seen there?
@chrisoutwright commented on GitHub (May 17, 2024):
with reranking:
without reranking


@tjbck commented on GitHub (May 18, 2024):
PR welcome!
@chrisoutwright commented on GitHub (May 18, 2024):
With hybrid search one would expect RerankCompressor being involved and then being logged with the
query_doc_with_hybrid_search:resultI will try again in the Win10 setup, as for the logs. We need to understand the challenge better first, or are there known ones?