This repository contains the code for the paper Learning Private Neural Language Modeling with Attentive Aggregation, which is an attentive extention of federated aggregation. A brief introductionary blog is avaiable here.
Further reference: a universal federated learning repository implemented by PyTorch - Federated Learning - PyTorch.
Refer to the README.md
under the data folder and download the datasets into their corresponding folders. Enter the source code folder to run the scripts with arguments assigned using argparse
package.
cd src
python run.py
See configs in src/utils/options.py
Python 3.6
PyTorch 0.4.1
@inproceedings{ji2019learning,
title={Learning Private Neural Language Modeling with Attentive Aggregation},
author={Ji, Shaoxiong and Pan, Shirui and Long, Guodong and Li, Xue and Jiang, Jing and Huang, Zi},
booktitle={International Joint Conference on Neural Networks (IJCNN)},
year={2019}
}