Skip to content

leap-laboratories/soft-prompt-generation

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages