Closed JeanKaddour closed 1 year ago
I had to make these two minor changes to get save_intermediate_checkpoints to work.
save_intermediate_checkpoints
The first fix is that my tokenizer object did not have a name attribute, but tokenizer.name_or_path exists.
tokenizer
name
tokenizer.name_or_path
The second fix is that there was no path variable in the save_training_checkpoint(...) function but a variable named directory.
path
save_training_checkpoint(...)
directory
After making these two changes, saving checkpoints worked.
Great, thanks!
I had to make these two minor changes to get
save_intermediate_checkpoints
to work.The first fix is that my
tokenizer
object did not have aname
attribute, buttokenizer.name_or_path
exists.The second fix is that there was no
path
variable in thesave_training_checkpoint(...)
function but a variable nameddirectory
.After making these two changes, saving checkpoints worked.