git clone https://github.com/00HS/causality-aware-retrieval.git
cd causality-aware-retrievalTo train a model, select the appropriate command in run_train.sh by uncommenting it based on your desired model and task.
bash run_train.shbash run_eval.shYou can compute Hits@k and MRR scores from the saved retrieval results by running score.py after evaluation.