├── .gitignore ├── LICENSE ├── README.md ├── data └── .gitkeep ├── figures ├── num_cands_Rouge-1.png ├── num_cands_Rouge-2.png ├── num_cands_Rouge-L.png └── positional_bias.png ├── notebooks └── simcls_testing.ipynb ├── requirements.txt ├── run ├── build_billsum_dataset.sh ├── build_cnndm_dataset.sh ├── build_xsum_dataset.sh ├── cnndm_experiments.sh ├── train_test_billsum.sh ├── train_test_cnndm.sh └── train_test_xsum.sh └── src ├── dataset_builder.py ├── evaluator.py ├── experiments ├── build_experiment_data.py ├── entity_level_eval.py ├── evaluate_baselines.py ├── evaluate_num_candidates.py └── sentence_level_eval.py ├── main.py ├── model.py ├── trainer.py └── utils ├── data_utils.py └── plot_utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/README.md -------------------------------------------------------------------------------- /data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /figures/num_cands_Rouge-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/figures/num_cands_Rouge-1.png -------------------------------------------------------------------------------- /figures/num_cands_Rouge-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/figures/num_cands_Rouge-2.png -------------------------------------------------------------------------------- /figures/num_cands_Rouge-L.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/figures/num_cands_Rouge-L.png -------------------------------------------------------------------------------- /figures/positional_bias.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/figures/positional_bias.png -------------------------------------------------------------------------------- /notebooks/simcls_testing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/notebooks/simcls_testing.ipynb -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/requirements.txt -------------------------------------------------------------------------------- /run/build_billsum_dataset.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/run/build_billsum_dataset.sh -------------------------------------------------------------------------------- /run/build_cnndm_dataset.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/run/build_cnndm_dataset.sh -------------------------------------------------------------------------------- /run/build_xsum_dataset.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/run/build_xsum_dataset.sh -------------------------------------------------------------------------------- /run/cnndm_experiments.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/run/cnndm_experiments.sh -------------------------------------------------------------------------------- /run/train_test_billsum.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/run/train_test_billsum.sh -------------------------------------------------------------------------------- /run/train_test_cnndm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/run/train_test_cnndm.sh -------------------------------------------------------------------------------- /run/train_test_xsum.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/run/train_test_xsum.sh -------------------------------------------------------------------------------- /src/dataset_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/dataset_builder.py -------------------------------------------------------------------------------- /src/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/evaluator.py -------------------------------------------------------------------------------- /src/experiments/build_experiment_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/experiments/build_experiment_data.py -------------------------------------------------------------------------------- /src/experiments/entity_level_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/experiments/entity_level_eval.py -------------------------------------------------------------------------------- /src/experiments/evaluate_baselines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/experiments/evaluate_baselines.py -------------------------------------------------------------------------------- /src/experiments/evaluate_num_candidates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/experiments/evaluate_num_candidates.py -------------------------------------------------------------------------------- /src/experiments/sentence_level_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/experiments/sentence_level_eval.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/main.py -------------------------------------------------------------------------------- /src/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/model.py -------------------------------------------------------------------------------- /src/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/trainer.py -------------------------------------------------------------------------------- /src/utils/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/utils/data_utils.py -------------------------------------------------------------------------------- /src/utils/plot_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrejmiscic/simcls-pytorch/HEAD/src/utils/plot_utils.py --------------------------------------------------------------------------------