Model Pipeline - Saving model state_dict
This pipeline shows how a PyTorch model's state_dict is saved after training. The state_dict contains all the learned parameters, allowing the model to be saved and loaded later for predictions or further training.