/dt-privacy

Example repo for DT privacy

Primary LanguagePython

Minimal Example for DecodingTrust-Privacy Experiments

Setup environment

conda create --name dt-test python=3.9
conda activate dt-test
git clone https://github.com/AI-secure/DecodingTrust.git && cd DecodingTrust
git checkout release
pip install -e ".[gptq]"

cd ..
git clone https://github.com/danielz02/helm.git && cd helm
pip install -e ".[gptq]"

Run example

python run.py "--key=XXXX"

where XXX should be your OpenAI key.