Files
foxhunt/ml/examples
jgrusewski 86ed7af58f fix(ml): DQN early stopping checkpoint naming (Option B)
Added is_final parameter to checkpoint callback to distinguish final
checkpoints from regular epoch checkpoints. Early stopping now saves
as dqn_final_epoch{N}.safetensors instead of dqn_epoch_{N}.safetensors.

Changes:
- Updated callback signature: Fn(usize, Vec<u8>, bool)
- Early stopping passes is_final=true
- Regular checkpoints pass is_final=false
- Callback uses final naming when is_final=true

Fixes checkpoint overwrite bug where final model was indistinguishable
from regular epoch checkpoints.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 23:19:40 +02:00
..