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

Add thousands separator in print_trainable_parameters #443

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Add thousands separator in print_trainable_parameters #443

merged 1 commit into from
Jun 7, 2023

Conversation

BramVanroy
Copy link
Contributor

The tiniest of suggestions, but to improve readability a thousands separator can be useful. Before:

trainable params: 901120 || all params: 479563456 || trainable%: 0.18790422596337283

After:

trainable params: 901,120 || all params: 479,563,456 || trainable%: 0.18790422596337283

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented May 15, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

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

Thank you @BramVanroy for making it more readable! 🤗

@pacman100 pacman100 merged commit c23be52 into huggingface:main Jun 7, 2023
@BramVanroy BramVanroy deleted the patch-1 branch June 7, 2023 12:40
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