Issue for Data Processing Guidance for 2WikiMultihopQA Dataset
Hello,
Thank you for sharing your code. I noticed an issue while using it: in the original 2WikiMultihopQA dataset, each sample has 10 related pages, so 1000 samples should contain approximately 10,000 documents. However, the provided dataset only has 657 chunks. I couldn't find the specific data processing script in the code. Could you please provide guidance or the relevant script for converting the original dataset to the required format? I would greatly appreciate your help!
Thank you very much!
Thank you for your interest! We follow the evaluation protocol from HippoRAG[1]. The detailed dataset construction process is described in Section 3.1 of the HippoRAG paper.
[1] HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models, NeurIPS 2024.
Thanks for your reply! I have also read HippoRAG and noticed that HippoRAG treats each Wikipedia passage as an independent short passage (~100–200 tokens), while in LinearRAG the chunk seems to be constructed by merging multiple paragraphs into a longer passage (often >600 tokens).
May I ask about the design consideration behind this difference?
Thank you for your question! In LinearRAG, we apply fixed-length chunking to the entire corpus which is a universal strategy. In contrast, HippoRAG uses Wikipedia's natural paragraph structure. Our approach is better suited for diverse, unstructured corpora without requiring domain knowledge.