Skip to content
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

Merged
merged 51 commits into from
Jun 21, 2024

Conversation

yan-gao-GY
Copy link
Contributor

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.

Copy link
Contributor

@jafermarq jafermarq left a 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

src/py/flwr/cli/new/new.py Outdated Show resolved Hide resolved
src/py/flwr/cli/new/new.py Outdated Show resolved Hide resolved
src/py/flwr/cli/new/new.py Outdated Show resolved Hide resolved
@charlesbvll
Copy link
Member

@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

@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.

@danieljanes danieljanes changed the title feat(framework) Add flwrtune templates to flwr new command feat(framework) Add FlowerTune templates to flwr new Jun 21, 2024
@danieljanes danieljanes enabled auto-merge (squash) June 21, 2024 14:40
@danieljanes danieljanes merged commit 7424b62 into main Jun 21, 2024
30 checks passed
@danieljanes danieljanes deleted the add-flwrtune-flwrnew branch June 21, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants