text: Title:  Saving Early Stopping Patience Value in last.pt Checkpoint
  Body: ### Search before asking
  
  - [X] I have searched the YOLOv5 [issues](https://github.com/ultralytics/yolov5/issues) and [discussions](https://github.com/ultralytics/yolov5/discussions) and found no similar questions.
  
  
  ### Question
  
  Hello,
  
  I have a question regarding the checkpointing mechanism in YOLOv5, specifically related to saving and resuming the training process.
  When training a YOLOv5 model, the last.pt checkpoint saves the model's weights and optimizer state. However, it appears that training process parameters, such as the early stopping patience value, are not included in this checkpoint.
  **If my training is interrupted and I restart from the last.pt checkpoint, does the **patience value reset to zero, or does it continue from the previously recorded value?****
  
  ### Additional
  
  _No response_