Simply install python packages using the provided requirements file:
pip install -U requirements.txt
In case, a custom PyTorch installation is desired, please install it after installing everything in the requirements.txt file.
Usage example:
python soft_prompt_generation.py -f sample.txt
Usage example:
python verify_soft_prompt -f soft_system_prompt.pt