Run the following command to create the required conda environment:
conda create -n TTSG python=3
conda activate TTSG
conda install pytorch cudatoolkit=11 -c pytorch
All dependencies can be installed via:
pip install -r requirements.txt
The 20News Group dataset can be accessed from here and the downloaded file is placed in the data
directory.
The BBC News dataset can be accessed from here and the downloaded file is placed in the data
directory.
python BRIO/run_summary.py
In this section, we use the BRIO approach to generate summaries.
python k-cloest.py
bash centrum/topic.sh
Here, we use Centrum method to generate topic sentences.
We appreciate BRIO, Centrum and many other related works for their open-source contributions.