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

correct resume training steps number in progress bar #25691

Merged
merged 1 commit into from
Aug 23, 2023
Merged

correct resume training steps number in progress bar #25691

merged 1 commit into from
Aug 23, 2023

Conversation

pphuc25
Copy link
Contributor

@pphuc25 pphuc25 commented Aug 23, 2023

Hi,
In this code of resume training with step, I see that completed_steps will always start at epoch 0, and it does not seem to be corrected (progress_bar needs to be at the step in the file save). So I changed the location of this code to make the progress_bar update with the latest step.

I would like to cc @sgugger to review it.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@sgugger sgugger merged commit 656e17f into huggingface:main Aug 23, 2023
@pphuc25 pphuc25 deleted the pphuc branch August 23, 2023 18:16
@pphuc25 pphuc25 restored the pphuc branch August 23, 2023 18:30
@pphuc25 pphuc25 deleted the pphuc branch August 24, 2023 05:00
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
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.

2 participants