GNN-RAG
GNN-RAG: Graph Neural Retrieval for Large Language Modeling Reasoning
File Explorer
Download Latest Version (.zip)- graftnet.py
- nsm.py
- rearev.py
- base_model.py
- base_gnn.py
- graft_gnn.py
- nsm_gnn.py
- reasongnn.py
- base_encoder.py
- bert_encoder.py
- lstm_encoder.py
- tokenizers.py
- layer_init.py
- query_update.py
- rearev_cwq.sh
- .gitignore
- dataset_load.py
- dataset_load_graft.py
- evaluate.py
- main.py
- parsing.py
- README.md
- requirements.txt
- train_model.py
- utils.py
- alpaca.txt
- general_prompt.txt
- llama2.txt
- llama2_predict.txt
- predictions_2_False.jsonl
- predictions_3_False.jsonl
- predictions_1_False.jsonl
- predictions_2_False.jsonl
- predictions_3_False.jsonl
- predictions_1_False.jsonl
- predictions_3_False.jsonl
- predictions_3_False.jsonl
- test.info
- test.info
- test.info
- test.info
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- args.txt
- detailed_eval_result.jsonl
- eval_result.txt
- predictions.jsonl
- evaluate_multi_hop.sh
- interpretable_example.py
- planning.sh
- plug-and-play.sh
- rag-reasoning.sh
- train.sh
- __init__.py
- build_align_qa_dataset.py
- data_loader.py
- generate_explanation_results.py
- joint_finetuning.py
- preprocess_align.py
- preprocess_qa.py
- llama_condense_monkey_patch.py
- llama_flash_attn_monkey_patch.py
- longchat.py
- __init__.py
- alpaca.py
- base_language_model.py
- chatgpt.py
- flan_t5.py
- llama.py
- __init__.py
- llm_proxy.py
- start_fastchat_api.py
- build_qa_input.py
- evaluate_multi_hop.py
- evaluate_results.py
- gen_rule_path.py
- predict_answer.py
- __init__.py
- graph_utils.py
- merge_peft.py
- training_utils.py
- utils.py
- __init__.py
- .gitignore
- entities_names.json
- README.md
- requirements.txt
- .gitignore
- GNN-RAG.png
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/cmavro/GNN-RAG
Downloads the entire project code from GitHub to your computer.
cd GNN-RAG
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r gnn/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
