Comments (3)
Hi,
Thanks for reaching out. The adapter's integration is detailed in the adapter module of the codebase.
Traditional FL is sending the full model, and adapter is used to fine-tune a small portion of the LLM's parameters.
For full definition and details, you can refer to our paper https://arxiv.org/abs/2309.00363 . And let me know if you have any further questions.
Best regards,
from federatedscope.
Hi,
Thanks for your time. I have another question. In the yaml file, what does "local_update_steps" represent?
Is the amount of data used for each client training "local_update_steps * batch_size" instead of all?
If not, what data does each client use in one round of training?
Best wishs.
from federatedscope.
When cfg.train.batch_or_epoch = 'batch'
, the amount of data used for each client training is "local_update_steps * batch_size". And When cfg.train.batch_or_epoch = 'epoch'
, the data used are "local_update_steps * num_data".
In federatedscope/core/configs/cfg_training.py:
cfg.train.local_update_steps = 1
cfg.train.batch_or_epoch = 'batch'
from federatedscope.
Related Issues (20)
- some question about secret sharing HOT 4
- ConfigSpace Object has no attribute to .item() HOT 3
- Customize metric in LLM finetuning HOT 2
- Custom dataset for graph level prediction HOT 2
- Pytorch model saving HOT 1
- Question about LLaMA based federated training HOT 7
- Hello, I would like to ask how to use the final 'feature_importance' value inside the 'federatedscope.vertical_fl.tree_based_models.trainer.feature_order_protected_trainer.py' file? HOT 1
- the issue of introducing a new package HOT 1
- Issue in DistributedRunner
- save client's model HOT 3
- Error when using register_data HOT 3
- Offsite tuning code with multigpu setting throws error HOT 3
- Smaller test/val loss but lower evaluation accuracy HOT 3
- How to use multi GPU to finetune Llama2 HOT 2
- Unable to run demo in hyperparameter optimization HOT 2
- Server global evaluation total number HOT 1
- Error with 4 bit quantized LLM HOT 3
- TypeError: call_file_data() missing 1 required positional argument: 'client_cfgs' HOT 6
- Some questions about Backdoor Bench HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from federatedscope.