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

refactor(framework) Update huggingface template for flwr new #4169

Merged
merged 10 commits into from
Sep 11, 2024

Conversation

jafermarq
Copy link
Contributor

@jafermarq jafermarq commented Sep 10, 2024

Updates HF flwr new template.

needs: #4119

@jafermarq jafermarq marked this pull request as ready for review September 10, 2024 19:30
chongshenng
chongshenng previously approved these changes Sep 10, 2024
Copy link
Contributor

@chongshenng chongshenng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks fine to me. The only minor comment is in pyproject.toml, whether we should set prajjwal1/bert-tiny as default and add a comment for users with access to larger GPUs, e.g.:

model-name = "prajjwal1/bert-tiny"  # If you have access to more GPU resources, 
                                    # you can try a larger model, such as "distilbert-base-uncased"

Copy link
Contributor

@chongshenng chongshenng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiny improvements to suppress transformers warnings.

jafermarq and others added 3 commits September 11, 2024 09:13
Co-authored-by: Chong Shen Ng <chong.shen@flower.ai>
Co-authored-by: Chong Shen Ng <chong.shen@flower.ai>
Co-authored-by: Chong Shen Ng <chong.shen@flower.ai>
@danieljanes danieljanes enabled auto-merge (squash) September 11, 2024 09:48
@danieljanes danieljanes dismissed chongshenng’s stale review September 11, 2024 09:58

Seems to be resolved now

@danieljanes danieljanes merged commit 5dffa05 into main Sep 11, 2024
33 checks passed
@danieljanes danieljanes deleted the update-hf-template branch September 11, 2024 09:58
charlesbvll pushed a commit that referenced this pull request Sep 11, 2024
Co-authored-by: Chong Shen Ng <chong.shen@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
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.

3 participants