This project is a customized version of EMNLP 2019: PreSumm, designed specifically for integration with MRAG (currently unavailable). Below, we outline the steps taken to create and modify this project based on the original implementation. Finally, readers can explore integrating this project as a sentence ranker option within the MRAG pipeline.
- Based on the original PreSumm, clone and create
setup.pyin the project root directory: PreSumm (details in code) . - Rename '../src' to '../presumm', i.e.
mv src presumm. - Create
__init__.pyinside the '../presumm' directory (details in code).
Please refer to the repository for detailed changes made to the codebase.
Install wheels, build by wheels, and packaing.
pip install wheel
cd /path/to/PreSumm
python setup.py bdist_wheelThere should be a file in the ../dist/.whl file now. Install the .whl into your environment by
pip install /path/to/xxx.whl