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

resume_from_checkpoint is not used in TrainingArguments #23325

Closed
2 of 4 tasks
SingL3 opened this issue May 12, 2023 · 2 comments
Closed
2 of 4 tasks

resume_from_checkpoint is not used in TrainingArguments #23325

SingL3 opened this issue May 12, 2023 · 2 comments

Comments

@SingL3
Copy link

SingL3 commented May 12, 2023

System Info

N/A

Who can help?

@sgugger

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

Just pass a resume_from_checkpoint to TrainingArguments.

Expected behavior

I have read the code and I see resume_from_checkpoint is used for Trainer.train(resume_from_checkpoint=...), and this setting in TrainingArguments is not used. Any reasons?

@amyeroberts
Copy link
Collaborator

@SingL3 In the docs for TrainingArguments, it notes that resume_from_checkpoint is intended to be used in your own training/evaluation scripts. In the original PR, this was discussed and decided upon in order to remove ambiguity.

@SingL3
Copy link
Author

SingL3 commented May 25, 2023

I see but it is somehow confusing. Closing this issue.

@SingL3 SingL3 closed this as completed May 25, 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

No branches or pull requests

2 participants