Code for ACL2022 privacy paper
All packages are specified in requirements.txt
, this project uses virtualenv
to ensure reproducibility.
$ sudo apt-get install virtualenv
$ virtualenv venv --python=python3
$ source venv/bin/activate
$ pip install -r requirements.txt
Needs at least 16 GB RAM, takes a while; generates results.json
$ python experiment.py
$ python -m unittest tests.py
Run jupyter
$ python -m jupyter notebook --notebook-dir=.
And open and run plots.ipynb
in Jupyter notebook using a web browser