Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 519 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 519 Bytes

Soft System Prompt Generation

Installation

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

Soft System Prompt Generation

Usage example:

python soft_prompt_generation.py -f sample.txt

Verification of generated soft prompt

Usage example:

python verify_soft_prompt -f soft_system_prompt.pt