-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(framework) Add FlowerTune templates to flwr new
#3587
Conversation
src/py/flwr/cli/new/templates/app/code/flwrtune/static_config.yaml.tpl
Outdated
Show resolved
Hide resolved
src/py/flwr/cli/new/templates/app/code/flwrtune/config.yaml.tpl
Outdated
Show resolved
Hide resolved
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yan-gao-GY it seems to be working!! I left a couple of small comments. I wonder if there is a better place for the flowertune-specific code added to cli/new/new.py
. wdyt @charlesbvll @danieljanes
Co-authored-by: Javier <jafermarq@users.noreply.github.com>
@jafermarq I'm planning a big refactoring of how the templates work/are generated, so I think this is okay if it is not perfect in this PR. |
src/py/flwr/cli/new/templates/app/code/flwrtune/config.yaml.tpl
Outdated
Show resolved
Hide resolved
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
flwr new
commandflwr new
Proposal
This PR adds flwrtune templates to
flwr new
command, which allows users to choose one of 4 LLM tasks (including general NLP, finance, medical and code) for its specific FL settings. This will be used for LLM leaderboard later.