- Create an venv
python3 -m venv .
- Activate a venv
source ./bin/activate
- Deactivate a venv
deactivate
- Install the requirements
pip install -r requirements.txt
- Create an
input
directory - Add a file with
title: "Artcile title"
- Run
python summary.py <input_dir> <output_dir> <instruction_dir>
will take each subdirectory ofinput_dir
and transform them based on each file ininstructions
. Saving a file for each prompt in a subdirectory ofoutput_dir
- Limited to 16K tokens