Home

Awesome

Code for Retrieval Augmentation for Commonsense Reasoning

Introduction of RACo

Step0 Download the Commonsense Corpus

Step1 Training: Commonsense Retriever

Step1 Inference: Retrieve Documents

Step2 Training and Inference: Commonsense Reader

Step2: FiD Outputs Evaluation

Citation

@inproceedings{yu2022retrieval,
  title={Retrieval Augmentation for Commonsense Reasoning: A Unified Approach},
  author={Yu, Wenhao and Zhu, Chenguang and Zhang, Zhihan and Wang, Shuohang and Zhang, Zhuosheng and Fang, Yuwei and Jiang, Meng},
  booktitle={Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
  year={2022}
}

Please kindly cite our paper if you find this paper and the codes helpful.