Dependencies
We recommend first installing Anaconda and then creating a Python environment for CHAP2.0. We also recommend using a machine that has GPU support, especially if you plan to fine-tune your own model. A CPU machine can be used if the goal is generating predictions with a pre-trained checkpoint.
Now open a terminal and run commands:
conda create -n chap2 python=3.10 -y
conda activate chap2
Then install the CHAP2.0 requirements from the repository root:
cd CHAP2
pip install -r requirements.txt
Run the CHAP2.0 scripts from inside the CHAP2/ folder.