This repository contains an implementation with PyTorch for the paper "Adaptive Federated Distillation for Multi-Domain Non-IID Textual Data". The figure below showes an overview of the proposed federated distillation framework of AdaFD.
For more details about the technical details of AdaFD, please refer to our paper.Run command below to install the environment (using python3):
pip install -r requirements.txt
wget https://github.com/jiahaoxiao1228/AdaFD/raw/main/non-iid-original-data.zip
unzip data.zip
- Modify the paths in
adafd.shto match your local environment. - Run the script:
bash adafd.sh
