- System Requirements : TensorFlow 2.1+, Python 3.5+ Installation
- Create and activate a Virtual environment
python3 -m virtualenv venv source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
python main.py
python attack1.py
python attack2.py
In progress
In progress
- Restructure tool
- Check if attacks are correctly implemented
- Make usage of other format datasets easier
- Comments, documentation
- etc.
Files adapted from https://github.com/csong27/auditing-text-generation:
helper.py
: defines custom architecture for user level NMTload_sated.py1
: dataloading from SATED datasetsated_nmt.py
: trains target and shadow models for SATED datasetsated_nmt_ranks.py
: gets ranks for target and shadow models