Skip to content

ACL 2022: How reparametrization trick broke differentially-private text representation leaning

License

Notifications You must be signed in to change notification settings

trusthlt/acl2022-reparametrization-trick-broke-differential-privacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acl2022-code

Code for ACL2022 privacy paper

Installation

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

Running main experiments

Needs at least 16 GB RAM, takes a while; generates results.json

$ python experiment.py

Running unit tests

$ python -m unittest tests.py

Plotting sampling functions

Run jupyter

$ python -m jupyter notebook --notebook-dir=.

And open and run plots.ipynb in Jupyter notebook using a web browser

About

ACL 2022: How reparametrization trick broke differentially-private text representation leaning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published