resource https://github.com/Yale-LILY/SummerTime
# install extra dependencies first
pip install pyrouge@git+https://github.com/bheinzerling/pyrouge.git
pip install en_core_web_sm@<https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0-py3-none-any.whl>
# install summertime
git clone <https://github.com/Yale-LILY/SummerTime.git>
cd SummerTime
pip install -e .
# error : install fasttext
use conda conda-forge to install fasttext separatly
# copy summertime to site-packages
cp -r summertime <Python to site packages> #eg: ~/anaconda3/env/ccd/lib/python3.8/site-packages/
#packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'
pip install packaging==21.3
# install protobuf
pip install --upgrade protobuf==3.20.0
# evaluation metrics
export ROUGE_HOME=/usr/local/lib/python3.7/dist-packages/summ_eval/ROUGE-1.5.5/
error message: NoADirectory
# The problem happend because: load_dataset and huggingface
# try to download multiple times