In machine learning, a checkpoint is a file that records a model's state at a particular point in training. It holds the learned weights and may also store the optimizer state, the current epoch and the latest training loss so that training can be resumed later.
Checkpoints allow interrupted training to continue from where it stopped and make it possible to compare versions of a model from different stages of training. The term is also commonly used for released sets of model weights.