XiaochenWang-PSU/KAMR

Multi-hop retrieval for GRAG via pretraining

0

stars

6

commits

Python

primary language

Jan 6, 2026

updated

README

KAMR

Code for "KAMR: Grounding Generation via Knowledge-Aligned Multi-hop Retrieval".

Datasets

Workflow

1) Build the pretraining dataset

python augment.py

2) Pretrain the retriever

python pretrain.py

3) Run retrieval inference (batch)

bash run_retr.sh

4) Run LLM generation (batch)

bash run_generation.sh

Notes

Additional documentation and usage details will be released when the repository is made public.

Contributors

XiaochenWang-PSU/KAMR

Multi-hop retrieval for GRAG via pretraining

0

stars

6

commits

Python

primary language

Jan 6, 2026

updated

README

KAMR

Code for "KAMR: Grounding Generation via Knowledge-Aligned Multi-hop Retrieval".

Datasets

Workflow

1) Build the pretraining dataset

python augment.py

2) Pretrain the retriever

python pretrain.py

3) Run retrieval inference (batch)

bash run_retr.sh

4) Run LLM generation (batch)

bash run_generation.sh

Notes

Additional documentation and usage details will be released when the repository is made public.

Contributors

Languages

Python

96.7%

Shell

3.3%