The code implementation of HyGRAG, accepted by WWW' 26.
Fixed the incorrect reference to Appendix X on line 664. The latest PDF has been uploaded.
Ensure you have the required dependencies installed:
conda env create -f experiment.ymlllm:
api_type: "open_llm" # Options: "openai" or "open_llm" (For Ollama and LlamaFactory)
model: "YOUR_LOCAL_MODEL_NAME"
base_url: "YOUR_LOCAL_URL" # Change this for local models
api_key: "YOUR_API_KEY" # Not required for local modelsFor LlamaFactory or Ollama or vllm, ensure the model is correctly installed and running in your local environment.
You can refer to the Readme of LlamaFactory
llm:
api_type: "open_llm" # Options: "openai" or "open_llm" (For Ollama and LlamaFactory)
model: "YOUR_LOCAL_MODEL_NAME"
base_url: "YOUR_LOCAL_URL" # Change this for local models
api_key: "ANY_THING_IS_OKAY" # Not required for local modelspython main.py -opt Option/Data/multihop-rag.yaml -dataset_name multihop-ragpython main_incremental.py -opt Option/Ours/HKGraphTreeDynamic.yaml -dataset_name multihop-rag -mode incremental -incremental_ratio 0.2