If it’s the part using Trainer
, you can use the argument save_total_limit
(in TrainingArguments
) to limit the number of checkpoints kept.
3 Likes
If it’s the part using Trainer
, you can use the argument save_total_limit
(in TrainingArguments
) to limit the number of checkpoints kept.