-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
65 additions
and
67 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
set -e | ||
|
||
cd .. | ||
|
||
echo "Run fednlp." | ||
|
||
python federatedscope/main.py \ | ||
--cfg federatedscope/nlp/baseline/config_fednlp.yaml \ | ||
--client_cfg federatedscope/nlp/baseline/config_client_fednlp.yaml \ | ||
outdir exp/fednlp/train/ \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
set -e | ||
|
||
cd .. | ||
|
||
echo "Run isolated." | ||
|
||
python federatedscope/main.py \ | ||
--cfg federatedscope/nlp/baseline/config_isolated.yaml \ | ||
--client_cfg federatedscope/nlp/baseline/config_client_isolated.yaml \ | ||
outdir exp/isolated/train/ \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
set -e | ||
|
||
cd .. | ||
|
||
echo "Run pcfednlp." | ||
|
||
python federatedscope/main.py \ | ||
--cfg federatedscope/nlp/baseline/config_pcfednlp.yaml \ | ||
--client_cfg federatedscope/nlp/baseline/config_client_pcfednlp.yaml \ | ||
federate.hfl_load_from exp/pfednlp/pretrain/ckpt/ \ | ||
outdir exp/pcfednlp/train/ \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
set -e | ||
|
||
cd .. | ||
|
||
echo "Run pfednlp." | ||
|
||
python federatedscope/main.py \ | ||
--cfg federatedscope/nlp/baseline/config_pfednlp.yaml \ | ||
--client_cfg federatedscope/nlp/baseline/config_client_pfednlp.yaml \ | ||
federate.hfl_load_from exp/pfednlp/pretrain/ckpt/ \ | ||
outdir exp/pfednlp/train/ \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set -e | ||
|
||
cd .. | ||
|
||
echo "Run pfednlp pretrain." | ||
|
||
python federatedscope/main.py \ | ||
--cfg federatedscope/nlp/baseline/config_pfednlp_pretrain.yaml \ | ||
outdir exp/pfednlp/pretrain/ \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters