Skip to content

ed1d1a8d/prompt-injection-interp

Repository files navigation

prompt-injection-interp

Paper link: https://arxiv.org/abs/2312.08793

Project website: https://forbiddenfacts.github.io/

Repository setup

Clone the repository (recursively to get the submodules) and then run:

pip install -r requirements.txt
pip install -e .

The requirements.txt step should be unnecessary if you are runn from the docker container.

AC/DC setup

This is WIP by Tony and may not work, but to setup AC/DC, run:

pip install -e submodules/acdc

Docker container

Our official docker environment is here: https://hub.docker.com/repository/docker/tonytwang/pii

OpenAI API setup

To run code that interfaces with the OpenAI API, make sure you set the OPENAI_API_KEY and OPENAI_ORG_ID environment variables.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages