raptor
raptor copied to clipboard
The official implementation of RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
I've found that FaissRetriever is defined in the project but then not used anywhere, and that's why
These lines: indices = np.where( (embeddings == local_cluster_embeddings_[:, None]).all(-1) )[1] are producing this error: AttributeError: 'bool' object has no attribute 'all' Background: both embeddings and local_cluster_embeddings_ are of type numpy.ndarray...
I conducted experiments on NarrativeQA benchmark using the LLama-3 model, and the model used collapsed_tree for nearly all questions and I don't know the reason.
While retrieval I did `context, __ = RA.retrieve(question)` to see the context, since I was not getting the desired response. I noticed that the context that is being passed to...
Hello, Thank your excellent work, I appreciate the idea in the paper. When I read paper and check this code, I still couldn't solve one problem, which is following: \...