bash gender_data.sh
bash political_data.sh
- Clone the repository of Adversarial Removal of Demographic Attributes from Text Data:
git clone https://github.com/yanaiela/demog-text-removal
-
Install the dependencies according to Prerequisites
-
Run the generation code
bash race_data.sh
If you use this repository in your project, we would appreciate you citing our paper as below.
@inproceedings{xu2019privacy,
title={Privacy-Aware Text Rewriting},
author={Xu, Qiongkai and Qu, Lizhen and Xu, Chenchen and Cui, Ran},
booktitle={Proceedings of the 12th International Conference on Natural Language Generation},
pages={247--257},
year={2019}
}