LLaMA-Factory icon indicating copy to clipboard operation
LLaMA-Factory copied to clipboard

does `save_strategy` conflicts with `save_total_limit`?

Open VoiceBeer opened this issue 1 month ago • 3 comments

Reminder

  • [x] I have read the above rules and searched the existing issues.

System Info

I've checked the doc, but didnt find any examples. My current settings are save_strategy: epoch and save_total_limit: 1. What I want is to save only the final model, but with these settings, it retains two copies of the final model.

Reproduction

save_strategy: epoch
save_total_limit: 1
save_only_model: true

Others

No response

VoiceBeer avatar Jan 25 '25 14:01 VoiceBeer