- Inference wrapper for COLO: A Contrastive Learning based Re-ranking Framework for One-Stage Summarization
- Forked from ordersum
# if testing on macos is required remove +cpu from the requirements.txt file
pip install -r requirements.txtpython3 predict.py -s sentences.json -r 0.75 -cc /path/to/checkpoint.ckptpython3 predict.py -s sentences.json -r 0.75 -cc /path/to/colo-checkpoint.ckpt -bc /path/to/bart-checkpoint.ckpt -iBSD 3-Clause License Copyright (c) 2022